1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-07-03 20:29:34 +00:00
kickc/src/test/ref/enum-3.asm

12 lines
216 B
NASM
Raw Normal View History

2019-06-18 23:24:10 +00:00
// 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
}