because it's not used too much, may sometimes inlined and can easily be
replaced by another entry in leaaxsp.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@4092
b7a2c559-68d2-44c3-8de9-
860c34a00d81
ldec.o \
ldiv.o \
le.o \
- leaa0sp.o \
leaaxsp.o \
leave.o \
leq.o \
+++ /dev/null
-;
-; Ullrich von Bassewitz, 21.08.1998
-;
-; CC65 runtime: Load effective address with offset in A relative to SP
-;
-
- .export leaasp
- .importzp sp
-
-.proc leaasp
-
- ldx sp+1 ; Get high byte
- clc
- adc sp
- bcc @L9
- inx
-@L9: rts
-
-.endproc
-
; CC65 runtime: Load effective address with offset in A/X relative to SP
;
- .export leaaxsp
+ .export leaaxsp, leaa0sp
.importzp sp
-.proc leaaxsp
-
+leaa0sp:
+ ldx #$00
+leaaxsp:
clc
adc sp
pha
pla
rts
-.endproc