1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/inline-asm-param.asm
2020-02-23 09:44:36 +01:00

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
}