prog8/examples/test.p8

25 lines
412 B
Plaintext
Raw Normal View History

%import textio
2020-12-07 22:29:34 +00:00
%import diskio
%import floats
%zeropage basicsafe
%import test_stack
2020-12-08 00:02:38 +00:00
%option no_sysinit
main {
sub start() {
ubyte[] barr = [0,0,0]
uword[] warr = [0,0,0]
ubyte xx = 0
barr[1] = xx+9
warr[1] = &warr
txt.print_ub(barr[1])
txt.chrout('\n')
txt.print_uwhex(warr[1],1 )
txt.chrout('\n')
2020-08-27 17:47:50 +00:00
2020-12-08 02:28:29 +00:00
test_stack.test()
}
2020-08-27 17:47:50 +00:00
}