2018-08-12 21:09:59 +00:00
|
|
|
~ main $c003 {
|
|
|
|
memory byte derp = $ffdd
|
|
|
|
const byte hopla=55-33
|
2018-08-13 18:28:15 +00:00
|
|
|
const byte hopla2=55-hopla
|
2018-08-12 21:09:59 +00:00
|
|
|
const float zwop = -1.7014118345e+38
|
2018-08-13 18:28:15 +00:00
|
|
|
const float zwop = -1.7014118345e+38 + derp.foo.bar
|
2018-08-12 21:09:59 +00:00
|
|
|
|
|
|
|
A = "derp" * %000100
|
|
|
|
|
2018-08-13 18:28:15 +00:00
|
|
|
mega:
|
|
|
|
X=1
|
|
|
|
cool:
|
|
|
|
Y=2
|
|
|
|
|
2018-08-13 02:12:42 +00:00
|
|
|
sub foo () -> () {
|
|
|
|
A=99
|
|
|
|
return 33
|
|
|
|
X =33
|
2018-08-13 18:28:15 +00:00
|
|
|
mega:
|
|
|
|
cool:
|
|
|
|
|
2018-08-13 02:12:42 +00:00
|
|
|
}
|
|
|
|
|
2018-08-13 18:28:15 +00:00
|
|
|
some_label_def: A=44
|
2018-08-12 21:09:59 +00:00
|
|
|
return 1+999
|
|
|
|
%breakpoint
|
|
|
|
%asminclude "derp", hopsa
|
|
|
|
%asmbinary "derp", 0, 200
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%import imported
|
|
|
|
%import imported
|
|
|
|
%import imported2
|
2018-08-13 18:28:15 +00:00
|
|
|
%import imported2
|