2018-01-01 23:24:39 +01:00
|
|
|
%output prg
|
|
|
|
%address $c000
|
2017-12-21 14:52:30 +01:00
|
|
|
|
2018-01-01 23:24:39 +01:00
|
|
|
~ test {
|
|
|
|
var .byte localvar = 33
|
|
|
|
return
|
|
|
|
}
|
2017-12-21 14:52:30 +01:00
|
|
|
|
2018-01-01 23:24:39 +01:00
|
|
|
~ main {
|
2018-01-03 21:43:19 +01:00
|
|
|
start:
|
2018-01-05 03:11:13 +01:00
|
|
|
;A=0
|
|
|
|
;[$d020]=A
|
|
|
|
;X=false
|
|
|
|
;Y=true
|
|
|
|
;return
|
2017-12-21 14:52:30 +01:00
|
|
|
|
2018-01-01 23:24:39 +01:00
|
|
|
;included_assembly
|
2018-01-07 02:36:27 +01:00
|
|
|
;%asminclude " included.sourcelynx walla derp ", test_include
|
|
|
|
;%asminclude " included.sourcelynx walla derp ", "test_include"
|
2017-12-21 14:52:30 +01:00
|
|
|
|
2018-01-01 23:24:39 +01:00
|
|
|
;included_binary
|
2018-01-07 02:36:27 +01:00
|
|
|
;%asmbinary " included.binary 234 "
|
|
|
|
;%asmbinary " included.binary", $40
|
2018-01-05 03:11:13 +01:00
|
|
|
%asmbinary "included.binary", $40, $200
|
2018-01-15 00:20:36 +01:00
|
|
|
|
|
|
|
return
|
2017-12-21 14:52:30 +01:00
|
|
|
}
|