remove even more X register save/restore code

This commit is contained in:
Irmen de Jong
2023-07-15 15:18:26 +02:00
parent e2bb0de24d
commit 41af63b333
23 changed files with 170 additions and 444 deletions

View File

@@ -130,8 +130,6 @@ func_sqrt16_into_A .proc
; integer square root from http://6502org.wikidot.com/software-math-sqrt
sta P8ZP_SCRATCH_W1
sty P8ZP_SCRATCH_W1+1
txa
pha
lda #0
sta P8ZP_SCRATCH_B1
sta P8ZP_SCRATCH_REG
@@ -154,8 +152,6 @@ func_sqrt16_into_A .proc
rol P8ZP_SCRATCH_REG
dex
bne -
pla
tax
lda P8ZP_SCRATCH_B1
rts
.pend