mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
15 lines
306 B
Lua
15 lines
306 B
Lua
%zeropage basicsafe
|
|
%option no_sysinit
|
|
%import textio
|
|
%import verafx
|
|
|
|
main {
|
|
sub start() {
|
|
uword lower16 = verafx.mult(11111,9988)
|
|
uword upper16 = cx16.r0
|
|
txt.print_uwhex(upper16, true) ; $069d5e9c = 110976668
|
|
txt.print_uwhex(lower16, false)
|
|
txt.nl()
|
|
}
|
|
}
|