fix addressing mode
This commit is contained in:
parent
f3a51dc764
commit
bb88981d80
@ -103,7 +103,7 @@ LCD_CLEAR = %00000000
|
||||
.proc lcd_print
|
||||
ldy #$00
|
||||
@lcd_print_loop:
|
||||
lda ARG0,y
|
||||
lda (ARG0),y
|
||||
beq @lcd_print_end
|
||||
jsr _lcd_char
|
||||
iny
|
||||
@ -112,6 +112,10 @@ LCD_CLEAR = %00000000
|
||||
rts
|
||||
.endproc
|
||||
|
||||
;********************************************************************************
|
||||
; @macro Print a null-terminated string
|
||||
; @param message: Address of the message
|
||||
;********************************************************************************
|
||||
.macro Print message
|
||||
jsr lcd_clear
|
||||
lda #.LOBYTE(message)
|
||||
|
Loading…
Reference in New Issue
Block a user