Currently the virtual machine supports the following operations: halt, pause, noop, push, pop, dup, swap, add ,sub, div, mul, mod, inc, dec, out.
To test these operations we must use the actual bytecode. It would be significantly easier to write tests with assembly which is why I'm quickly shifting the focus to the assembler module.
Currently the virtual machine supports the following operations: halt, pause, noop, push, pop, dup, swap, add ,sub, div, mul, mod, inc, dec, out.
To test these operations we must use the actual bytecode. It would be significantly easier to write tests with assembly which is why I'm quickly shifting the focus to the assembler module.