]> git.sur5r.net Git - cc65/commitdiff
Renamed a file with more than 8 chars in its name
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 4 Apr 2001 20:27:33 +0000 (20:27 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 4 Apr 2001 20:27:33 +0000 (20:27 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@686 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/runtime/Makefile
libsrc/runtime/staxspi.s [new file with mode: 0644]
libsrc/runtime/staxspidx.s [deleted file]

index e509c5471166ebedac160d6a974cb954709644c3..1ab6cf9a700dc08f71da7482fed4efc5a8e9580a 100644 (file)
@@ -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 (file)
index 0000000..1c4c011
--- /dev/null
@@ -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 (file)
index 1c4c011..0000000
+++ /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
-
-