prog8/il65/examples/test.ill

36 lines
486 B
Plaintext
Raw Normal View History

~ main $c003 {
memory byte derp = $ffdd
const byte hopla=55-33
2018-08-13 18:28:15 +00:00
const byte hopla2=55-hopla
const float zwop = -1.7014118345e+38
2018-08-13 18:28:15 +00:00
const float zwop = -1.7014118345e+38 + derp.foo.bar
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
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