sav VALUE REGISTER saves a value into a register.
cal OP VALUE REGISTER calculates and stores the result in r01.
stp stops the program.
sav 65 rEF prints A using the ASCII output register.
io text char r01 prints register r01 as a character.
io text int r01 prints register r01 as a number.
io text hex r01 prints register r01 as hexadecimal.
A label marks a line. jmp LABEL jumps to it.
jmg, jmz, and jml jump depending on r01.
io mem addr r01 sets the active memory address.
io mem write r02 writes r02 to that address.
io mem read r03 reads from that address into r03.
This demo supports core instructions, labels, jumps, loops, text output, and memory.
Native-only features such as keyboard, mouse, audio, disk, and screen rendering are not yet available here.