mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-10-21 02:24:34 +00:00
17 lines
265 B
NASM
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
|
|
}
|