shreax3.o \
shreax4.o \
staspidx.o \
- staspp.o \
staxsp.o \
staxspi.o \
staxspp.o \
; CC65 runtime: Load a indirect from address in ax
;
- .export ldai, ldaidx
+ .export ldaidx
.importzp ptr1
-ldai: ldy #$00
-ldaidx: sta ptr1
+.proc ldaidx
+ sta ptr1
stx ptr1+1
ldx #$00
lda (ptr1),y
- bpl L9
+ bpl @L1
dex
-L9: rts
+@L1: rts
+.endproc
; CC65 runtime: Load a unsigned indirect from address in ax
;
- .export ldaui, ldauidx
+ .export ldauidx
.importzp ptr1
-
-ldaui:
- ldy #0
-ldauidx:
+
+.proc ldauidx
sta ptr1
stx ptr1+1
ldx #0
lda (ptr1),y
rts
-
+.endproc
+++ /dev/null
-;
-; Ullrich von Bassewitz, 25.10.2000
-;
-; CC65 runtime: Store a indirect into address at top of stack
-;
-
- .export staspp
- .import incsp2
- .importzp sp, ptr1
-
-.proc staspp
-
- ldy #1
- pha
- lda (sp),y
- sta ptr1+1
- dey
- lda (sp),y
- sta ptr1
- pla
- sta (ptr1),y
- jmp incsp2 ; Drop address
-
-.endproc
-
-