mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-07-03 20:29:34 +00:00
12 lines
216 B
NASM
12 lines
216 B
NASM
|
// Test of simple enum - value with complex calculation
|
||
|
.pc = $801 "Basic"
|
||
|
:BasicUpstart(main)
|
||
|
.pc = $80d "Program"
|
||
|
.const BROKEN = 4*4+2+1
|
||
|
main: {
|
||
|
.label SCREEN = $400
|
||
|
lda #BROKEN
|
||
|
sta SCREEN
|
||
|
rts
|
||
|
}
|