10 lines
237 B
NASM
10 lines
237 B
NASM
; putc.asm - cross-object demo, part 1.
|
|
; Exports `putc`: write the byte in A to the terminal and return.
|
|
; This object is relocatable; the linker places it at the load address.
|
|
|
|
.export putc
|
|
|
|
putc:
|
|
sta $F001
|
|
rts
|