1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/var-export.asm

13 lines
289 B
NASM

// Test the export directive usable for ensuring a data variable is always added to the output - even if it is never used
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
.label SCREEN = $400
main: {
lda #'x'
sta SCREEN
rts
}
MESSAGE: .text "camelot!"
.byte 0