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
--- /dev/null
+;
+; 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
+
+
+
+++ /dev/null
-;
-; 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
-
-
-