mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
replace JMP with BEQ to save 1 byte.
This commit is contained in:
parent
3cbe485b94
commit
aaecf3cfec
@ -104,8 +104,8 @@ UNINSTALL:
|
||||
;
|
||||
|
||||
PAGECOUNT:
|
||||
lda #0
|
||||
ldx #2
|
||||
lda #<(128 * 1024 / 256)
|
||||
ldx #>(128 * 1024 / 256)
|
||||
rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
@ -154,7 +154,7 @@ COPYFROM:
|
||||
; - X contains the page offset
|
||||
; - Y contains zero
|
||||
|
||||
jmp @L5
|
||||
beq @L5 ; will always branch, because setup ends with ldy #0
|
||||
|
||||
@L1: lda RAMC_WINDOW,x
|
||||
sta (ptr2),y
|
||||
@ -202,7 +202,7 @@ COPYTO:
|
||||
; - X contains the page offset
|
||||
; - Y contains zero
|
||||
|
||||
jmp @L5
|
||||
beq @L5 ; will always branch, because setup ends with ldy #0
|
||||
|
||||
@L1: lda (ptr2),y
|
||||
sta RAMC_WINDOW,x
|
||||
|
Loading…
Reference in New Issue
Block a user