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 {
|
2018-01-03 20:43:19 +00:00
|
|
|
start:
|
2018-01-05 02:11:13 +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
|
2018-01-07 01:36:27 +00:00
|
|
|
;%asminclude " included.sourcelynx walla derp ", test_include
|
|
|
|
;%asminclude " included.sourcelynx walla derp ", "test_include"
|
2017-12-21 13:52:30 +00:00
|
|
|
|
2018-01-01 22:24:39 +00:00
|
|
|
;included_binary
|
2018-01-07 01:36:27 +00:00
|
|
|
;%asmbinary " included.binary 234 "
|
|
|
|
;%asmbinary " included.binary", $40
|
2018-01-05 02:11:13 +00:00
|
|
|
%asmbinary "included.binary", $40, $200
|
2018-01-14 23:20:36 +00:00
|
|
|
|
|
|
|
return
|
2017-12-21 13:52:30 +00:00
|
|
|
}
|