6 lines
305 B
Plaintext
6 lines
305 B
Plaintext
lda #<PrintChar ;load into A the low byte of the address that PrintChar references.
|
|
sta $00
|
|
lda #>PrintChar ;load into A the high byte of the address that PrintChar references.
|
|
sta $01 ;these need to be stored low then high because the 6502 is a little-endian cpu
|
|
JMP ($00) ;dereferences to JMP PrintChar
|