mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-09 08:54:40 +00:00
14 lines
272 B
NASM
14 lines
272 B
NASM
// Test of simple enum - three-value enum with specified integer values and increment
|
|
.pc = $801 "Basic"
|
|
:BasicUpstart(main)
|
|
.pc = $80d "Program"
|
|
.const BROKEN = 9
|
|
main: {
|
|
.label SCREEN = $400
|
|
// *SCREEN = state
|
|
lda #BROKEN
|
|
sta SCREEN
|
|
// }
|
|
rts
|
|
}
|