prog8/examples/test.p8

27 lines
350 B
Plaintext
Raw Normal View History

%import textio
%zeropage basicsafe
%option no_sysinit
2020-12-08 00:02:38 +00:00
main {
2021-01-13 21:32:17 +00:00
sub start() {
uword xx = &b2.zz
xx=&b3.zz
txt.print_uwhex(&main, true)
txt.nl()
txt.print_uwhex(&b2, true)
txt.nl()
txt.print_uwhex(&b3, true)
txt.nl()
2021-01-10 14:15:00 +00:00
}
2020-08-27 17:47:50 +00:00
}
b2 {
str zz="hello"
}
b3 $4001 {
str zz="bye"
}