]> git.sur5r.net Git - cc65/commitdiff
Renamed module, part of code no longer needed
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 10 Jun 2000 16:11:27 +0000 (16:11 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 10 Jun 2000 16:11:27 +0000 (16:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@48 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/runtime/Makefile
libsrc/runtime/leasp.s [new file with mode: 0644]
libsrc/runtime/leaysp.s [deleted file]

index d6024d1faf5ad717c6fcb9c486dccdfb6c3e1092..ef202d2f9f1bb64d950dd9c6097cb3e480e361e6 100644 (file)
@@ -18,7 +18,7 @@ OBJS   = runtime.o mul.o div.o push.o inc.o dec.o shl.o shr.o add.o\
         uge.o lt.o ult.o le.o ule.o eq.o ne.o test.o subeqsp.o\
         udiv.o umod.o mod.o shelp.o aslax1.o asrax1.o shrax1.o\
          aslax2.o asrax2.o shrax2.o aslax3.o asrax3.o shrax3.o\
-        enter.o leave.o leaysp.o popsreg.o ldai.o ldaxi.o ldauisp.o\
+        enter.o leave.o leasp.o popsreg.o ldai.o ldaxi.o ldauisp.o\
         ldaui.o pushw.o pushb.o staxsp.o ldaxsp.o addeqsp.o\
         bpushbsp.o pushwsp.o pushbsp.o
 
diff --git a/libsrc/runtime/leasp.s b/libsrc/runtime/leasp.s
new file mode 100644 (file)
index 0000000..4f93208
--- /dev/null
@@ -0,0 +1,31 @@
+;
+; Ullrich von Bassewitz, 21.08.1998
+;
+; CC65 runtime: Load effective address with offset in Y relative to SP
+;
+
+       .export         leaasp, plea0sp, pleaysp
+       .import         pushax
+       .importzp       sp
+
+leaasp:        ldx     sp+1            ; Get high byte
+       clc
+       adc     sp
+       bcc     @L1
+       inx
+@L1:   rts
+
+
+plea0sp:
+       ldy     #0
+pleaysp:
+       tya
+       ldx     sp+1            ; Get high byte
+       clc
+       adc     sp
+       bcc     L9
+       inx
+L9:    jmp     pushax
+
+
+
diff --git a/libsrc/runtime/leaysp.s b/libsrc/runtime/leaysp.s
deleted file mode 100644 (file)
index 2e5c161..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-;
-; Ullrich von Bassewitz, 21.08.1998
-;
-; CC65 runtime: Load effective address with offset in Y relative to SP
-;
-
-       .export         lea0sp, leaysp, plea0sp, pleaysp
-       .import         pushax
-       .importzp       sp
-
-lea0sp:        ldy     #0              ; Load offset zero
-leaysp:        tya
-       ldx     sp+1            ; Get high byte
-       clc
-       adc     sp
-       bcc     L8
-       inx
-L8:    rts
-
-
-plea0sp:
-       ldy     #0
-pleaysp:
-       tya
-       ldx     sp+1            ; Get high byte
-       clc
-       adc     sp
-       bcc     L9
-       inx
-L9:    jmp     pushax
-
-
-