Misc instructions are used for various things. Instructions covered in this article are listed below:
Old-styled comments. Not recommended; wasting virtual CPU cycles!
Just use ;.
; commentReset a register.
zero tlrIncrease and decrease values of registers.
inc tlrTerminate the system.
exit
Warning
This is used stricly in the REPL mode.
Does absolutely nothing.
nopThis instruction is used to debug register values.
db tlrThis instruction is used to clear the screen.
clsThis instruction is used to block the main thread for the specific amount of time.
wait 1000 ; pause for 1sThis instruction exchanges the values of tlr and stl.
.start
mov tlr, 1
mov stl, 2
xchg
db tlr
db stlOutput:
2
1
Define memory address alignment.
.start
align <number>