1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/switch-2.asm

14 lines
231 B
NASM

// Tests simple switch()-statement - not inside a loop
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
main: {
.const b = 1
.label SCREEN = $400
// SCREEN[0] = b
lda #b
sta SCREEN
// }
rts
}