2018-01-01 22:24:39 +00:00
|
|
|
%output prg
|
|
|
|
%address $c000
|
2017-12-21 13:52:30 +00:00
|
|
|
|
2018-01-01 22:24:39 +00:00
|
|
|
~ test {
|
|
|
|
var .byte localvar = 33
|
|
|
|
return
|
|
|
|
}
|
2017-12-21 13:52:30 +00:00
|
|
|
|
2018-01-01 22:24:39 +00:00
|
|
|
~ main {
|
2017-12-21 13:52:30 +00:00
|
|
|
start
|
2018-01-01 22:24:39 +00:00
|
|
|
A=0
|
|
|
|
[$d020]=A
|
|
|
|
X=false
|
|
|
|
Y=true
|
|
|
|
return
|
2017-12-21 13:52:30 +00:00
|
|
|
|
2018-01-01 22:24:39 +00:00
|
|
|
;included_assembly
|
|
|
|
%asminclude "included.source" test_include
|
2017-12-21 13:52:30 +00:00
|
|
|
|
2018-01-01 22:24:39 +00:00
|
|
|
;included_binary
|
|
|
|
%asmbinary "included.binary"
|
|
|
|
%asmbinary "included.binary" $40
|
|
|
|
%asmbinary "included.binary" $40 $200
|
2017-12-21 13:52:30 +00:00
|
|
|
}
|