1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-29 09:29:31 +00:00
kickc/src/test/ref/typemismatch.asm

13 lines
213 B
NASM

// Type mismatch - should fail gracefully
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
main: {
.label screen = $400
.const w = $1388
.const b = $ff&w
lda #b
sta screen
rts
}