mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-29 03:56:15 +00:00
18 lines
225 B
NASM
18 lines
225 B
NASM
.pc = $801 "Basic"
|
|
:BasicUpstart(main)
|
|
.pc = $80d "Program"
|
|
.label SCREEN = $400
|
|
main: {
|
|
ldx #0
|
|
__b1:
|
|
// asm
|
|
lda #'a'
|
|
sta SCREEN
|
|
// for( byte i:0..3)
|
|
inx
|
|
cpx #4
|
|
bne __b1
|
|
// }
|
|
rts
|
|
}
|