mirror of
https://github.com/irmen/prog8.git
synced 2024-12-28 12:32:34 +00:00
25 lines
412 B
Lua
25 lines
412 B
Lua
%import textio
|
|
%import diskio
|
|
%import floats
|
|
%zeropage basicsafe
|
|
%import test_stack
|
|
%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')
|
|
|
|
test_stack.test()
|
|
}
|
|
}
|