mirror of
https://github.com/irmen/prog8.git
synced 2024-11-04 19:05:57 +00:00
25 lines
404 B
Plaintext
25 lines
404 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.source" test_include
|
||
|
|
||
|
;included_binary
|
||
|
asmbinary "included.binary"
|
||
|
asmbinary "included.binary" $40
|
||
|
asmbinary "included.binary" $40 $200
|
||
|
}
|