mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-29 03:56:15 +00:00
14 lines
231 B
NASM
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
|
|
}
|