1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-07-01 22:29:45 +00:00
kickc/src/test/ref/typemismatch.asm

13 lines
213 B
NASM
Raw Normal View History

// 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
}