Optimize delete cycles
This commit is contained in:
parent
b65084b459
commit
412fd70404
1 changed files with 4 additions and 2 deletions
|
@ -111,9 +111,10 @@ putchar:
|
|||
|
||||
@delete1:
|
||||
lda #$00
|
||||
@del1:
|
||||
sta LCD_DATA
|
||||
iny
|
||||
bne @delete1
|
||||
bne @del1
|
||||
|
||||
@skip_delete1:
|
||||
|
||||
|
@ -143,9 +144,10 @@ putchar:
|
|||
|
||||
@delete2:
|
||||
lda #$00
|
||||
@del2:
|
||||
sta LCD_DATA
|
||||
iny
|
||||
bne @delete2
|
||||
bne @del2
|
||||
|
||||
@skip_delete2:
|
||||
pla
|
||||
|
|
Loading…
Add table
Reference in a new issue