mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-08 17:54:40 +00:00
12 lines
240 B
NASM
12 lines
240 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
|
|
lda #BROKEN
|
|
sta SCREEN
|
|
rts
|
|
}
|