mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-06-03 07:29:37 +00:00
19 lines
477 B
NASM
19 lines
477 B
NASM
// Test that #pragma works with no parenthesis and no parameters
|
|
// Commodore 64 PRG executable file
|
|
.file [name="pragma-noparam-noparen.prg", type="prg", segments="Program"]
|
|
.segmentdef Program [segments="Basic, Code, Data"]
|
|
.segmentdef Basic [start=$0801]
|
|
.segmentdef Code [start=$80d]
|
|
.segmentdef Data [startAfter="Code"]
|
|
.segment Basic
|
|
:BasicUpstart(main)
|
|
.segment Code
|
|
main: {
|
|
.label SCREEN = $400
|
|
// *SCREEN = 'a'
|
|
lda #'a'
|
|
sta SCREEN
|
|
// }
|
|
rts
|
|
}
|