mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-08 17:54:40 +00:00
18 lines
255 B
NASM
18 lines
255 B
NASM
.pc = $801 "Basic"
|
|
:BasicUpstart(main)
|
|
.pc = $80d "Program"
|
|
.label SCREEN = $400
|
|
main: {
|
|
lda #'c'
|
|
sta b
|
|
sta SCREEN
|
|
lda c+1
|
|
sta SCREEN+1
|
|
lda d+2
|
|
sta SCREEN+2
|
|
rts
|
|
}
|
|
b: .fill 3, 0
|
|
c: .byte 'c', 'm', 'l'
|
|
d: .text "cml"
|