Added "popptr1" which is of common use to save some bytes.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
.export steaxspidx
|
||||
.import popax
|
||||
.import popptr1
|
||||
.importzp sreg, ptr1, tmp1, tmp2, tmp3
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
sta tmp1
|
||||
stx tmp2
|
||||
sty tmp3
|
||||
jsr popax ; get the pointer
|
||||
sta ptr1
|
||||
stx ptr1+1
|
||||
jsr popptr1 ; get the pointer
|
||||
ldy tmp3
|
||||
lda tmp1
|
||||
sta (ptr1),y
|
||||
|
||||
Reference in New Issue
Block a user