mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-10-21 17:24:39 +00:00
17 lines
238 B
NASM
17 lines
238 B
NASM
// Tests minimal hello world
|
|
.pc = $801 "Basic"
|
|
:BasicUpstart(main)
|
|
.pc = $80d "Program"
|
|
.label SCREEN = $400
|
|
main: {
|
|
ldx #0
|
|
b1:
|
|
lda msg,x
|
|
sta SCREEN,x
|
|
inx
|
|
cpx #$c
|
|
bne b1
|
|
rts
|
|
}
|
|
msg: .text "hello world!@"
|