1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 02:24:34 +00:00
kickc/src/test/ref/uninitialized.asm
2019-05-18 21:37:34 +02:00

17 lines
265 B
NASM

// Tests uninitialized values of variables.
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
.const b = 0
.label SCREEN = $400
main: {
lda #b
sta SCREEN
lda #0
sta SCREEN+2
sta SCREEN+3
sta SCREEN+5
sta SCREEN+5
rts
}