prog8/examples/test.p8
2020-12-06 08:30:13 +01:00

21 lines
422 B
Lua

%import textio
%import floats
%zeropage basicsafe
%import test_stack
main {
sub start() {
uword uw
ubyte ub1
ubyte ub2
uw = ub1 as uword + ub2 ; fairly ok asm.. but the next though...:
ub1++
uw = ub1 + ub2 ; TODO horrible asm using the eval stack... fix
uw *= 8 ; TODO is using a loop... unroll somewhat
txt.print("hello\n")
}
}