Oh well. Decided to throw away the separate implementation for leaa0sp,

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
This commit is contained in:
uz
2009-08-31 12:22:13 +00:00
parent bf9d36a2fa
commit db69c202a4
3 changed files with 4 additions and 25 deletions

View File

@@ -4,11 +4,12 @@
; 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
@@ -18,6 +19,5 @@
pla
rts
.endproc