mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
22 lines
370 B
Lua
22 lines
370 B
Lua
; conv_bug.p8
|
|
%import textio
|
|
%import conv
|
|
%zeropage basicsafe
|
|
%option no_sysinit
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte num8 = 99
|
|
ubyte i
|
|
ubyte jj = 99
|
|
|
|
for i in 0 to 255 {
|
|
txt.print(conv.str_ub(i))
|
|
txt.spc()
|
|
txt.print(conv.str_b(i as byte))
|
|
txt.chrout(';')
|
|
txt.nl()
|
|
}
|
|
}
|
|
}
|