10 lines
267 B
Text
10 lines
267 B
Text
macro PrintOutput,input,addr
|
|
; input: desired function's input
|
|
; addr: function you wish to call
|
|
LDA #<\addr ;#< represents this number's low byte
|
|
STA z_L
|
|
LDA #>\addr ;#> represents this number's high byte
|
|
STA z_H
|
|
LDA \input
|
|
JSR doPrintOutput
|
|
endm
|