2024-11-30 19:46:31 +00:00
|
|
|
%import textio
|
|
|
|
%option no_sysinit
|
|
|
|
%zeropage basicsafe
|
|
|
|
|
2024-11-13 23:54:07 +00:00
|
|
|
main {
|
2024-11-24 06:28:33 +00:00
|
|
|
sub start() {
|
2024-12-01 19:50:33 +00:00
|
|
|
txt.print_ubhex($123456>>16, true)
|
2024-12-01 13:28:41 +00:00
|
|
|
txt.spc()
|
|
|
|
txt.print_ubhex(msw($123456), true)
|
|
|
|
txt.spc()
|
2024-12-01 19:50:33 +00:00
|
|
|
txt.print_ubhex(bankof($123456), true)
|
2024-12-01 13:28:41 +00:00
|
|
|
txt.nl()
|
2024-11-29 19:57:40 +00:00
|
|
|
|
2024-12-01 19:50:33 +00:00
|
|
|
txt.print_uwhex($123456 & $ffff, true)
|
2024-12-01 13:28:41 +00:00
|
|
|
txt.spc()
|
|
|
|
txt.print_uwhex(lsw($123456), true)
|
|
|
|
txt.spc()
|
|
|
|
txt.print_uwhex($123456 & $ffff, true)
|
|
|
|
txt.nl()
|
2024-11-29 23:06:02 +00:00
|
|
|
}
|
2024-11-05 22:56:58 +00:00
|
|
|
}
|