From: cuz Date: Wed, 4 Apr 2001 20:27:33 +0000 (+0000) Subject: Renamed a file with more than 8 chars in its name X-Git-Tag: V2.12.0~2876 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5627f2758643073e80c236ab9034ff986968874d;p=cc65 Renamed a file with more than 8 chars in its name git-svn-id: svn://svn.cc65.org/cc65/trunk@686 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/Makefile b/libsrc/runtime/Makefile index e509c5471..1ab6cf9a7 100644 --- a/libsrc/runtime/Makefile +++ b/libsrc/runtime/Makefile @@ -123,15 +123,15 @@ OBJS = add.o \ lule.o \ lult.o \ lumod.o \ - lxor.o \ + lxor.o \ makebool.o \ - mod.o \ - mul.o \ - ne.o \ - neg.o \ - or.o \ + mod.o \ + mul.o \ + ne.o \ + neg.o \ + or.o \ pleasp.o \ - popa.o \ + popa.o \ popsreg.o \ push1.o \ push2.o \ @@ -153,10 +153,10 @@ OBJS = add.o \ pushwsp.o \ return0.o \ return1.o \ - rsub.o \ + rsub.o \ shelp.o \ - shl.o \ - shr.o \ + shl.o \ + shr.o \ shrax1.o \ shrax2.o \ shrax3.o \ @@ -166,7 +166,7 @@ OBJS = add.o \ staspidx.o \ staspp.o \ staxsp.o \ - staxspidx.o \ + staxspi.o \ staxspp.o \ steaxsp.o \ steaxspi.o \ diff --git a/libsrc/runtime/staxspi.s b/libsrc/runtime/staxspi.s new file mode 100644 index 000000000..1c4c011b4 --- /dev/null +++ b/libsrc/runtime/staxspi.s @@ -0,0 +1,32 @@ +; +; Ullrich von Bassewitz, 26.10.2000 +; +; CC65 runtime: Store a/x indirect into address at top of stack with index +; + + .export staxspidx + .import incsp2 + .importzp sp, tmp1, ptr1 + +.proc staxspidx + + sty tmp1 ; Save Y + pha ; Save A + ldy #1 + lda (sp),y + sta ptr1+1 + dey + lda (sp),y + sta ptr1 ; Address now in ptr1 + ldy tmp1 ; Restore Y + iny ; Address high byte + txa ; Get high byte + sta (ptr1),y ; Store high byte + dey ; Address low byte + pla ; Restore low byte into A + sta (ptr1),y ; Store low byte + jmp incsp2 ; Drop address + +.endproc + + diff --git a/libsrc/runtime/staxspidx.s b/libsrc/runtime/staxspidx.s deleted file mode 100644 index 1c4c011b4..000000000 --- a/libsrc/runtime/staxspidx.s +++ /dev/null @@ -1,32 +0,0 @@ -; -; Ullrich von Bassewitz, 26.10.2000 -; -; CC65 runtime: Store a/x indirect into address at top of stack with index -; - - .export staxspidx - .import incsp2 - .importzp sp, tmp1, ptr1 - -.proc staxspidx - - sty tmp1 ; Save Y - pha ; Save A - ldy #1 - lda (sp),y - sta ptr1+1 - dey - lda (sp),y - sta ptr1 ; Address now in ptr1 - ldy tmp1 ; Restore Y - iny ; Address high byte - txa ; Get high byte - sta (ptr1),y ; Store high byte - dey ; Address low byte - pla ; Restore low byte into A - sta (ptr1),y ; Store low byte - jmp incsp2 ; Drop address - -.endproc - -