mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
28 lines
562 B
Plaintext
28 lines
562 B
Plaintext
%output prg
|
|
%address $c000
|
|
|
|
~ test {
|
|
var .byte localvar = 33
|
|
return
|
|
}
|
|
|
|
~ main {
|
|
start:
|
|
;A=0
|
|
;[$d020]=A
|
|
;X=false
|
|
;Y=true
|
|
;return
|
|
|
|
;included_assembly
|
|
;%asminclude " included.sourcelynx walla derp ", test_include
|
|
;%asminclude " included.sourcelynx walla derp ", "test_include"
|
|
|
|
;included_binary
|
|
;%asmbinary " included.binary 234 "
|
|
;%asmbinary " included.binary", $40
|
|
%asmbinary "included.binary", $40, $200
|
|
|
|
return
|
|
}
|