2020-09-20 21:49:36 +00:00
|
|
|
%import textio
|
2020-12-07 22:29:34 +00:00
|
|
|
%import diskio
|
2020-11-15 16:44:47 +00:00
|
|
|
%import floats
|
2020-11-15 14:04:23 +00:00
|
|
|
%zeropage basicsafe
|
2020-11-20 21:15:14 +00:00
|
|
|
%import test_stack
|
2020-12-08 00:02:38 +00:00
|
|
|
%option no_sysinit
|
|
|
|
|
2020-12-08 21:54:20 +00:00
|
|
|
main {
|
|
|
|
sub start() {
|
|
|
|
ubyte[] barr = [0,0,0]
|
|
|
|
uword[] warr = [0,0,0]
|
2020-12-08 21:27:42 +00:00
|
|
|
|
2020-12-08 21:54:20 +00:00
|
|
|
ubyte xx = 0
|
|
|
|
barr[1] = xx+9
|
|
|
|
warr[1] = &warr
|
2020-12-08 21:27:42 +00:00
|
|
|
|
2020-12-08 21:54:20 +00:00
|
|
|
txt.print_ub(barr[1])
|
2020-12-08 21:27:42 +00:00
|
|
|
txt.chrout('\n')
|
2020-12-08 21:54:20 +00:00
|
|
|
txt.print_uwhex(warr[1],1 )
|
2020-12-08 21:27:42 +00:00
|
|
|
txt.chrout('\n')
|
2020-08-27 17:47:50 +00:00
|
|
|
|
2020-12-08 02:28:29 +00:00
|
|
|
test_stack.test()
|
2020-12-03 17:39:32 +00:00
|
|
|
}
|
2020-08-27 17:47:50 +00:00
|
|
|
}
|