This post is part of the Stack Based Virtual Machines series. In the previous part we have added support for functions calls to our virtual machine. This time, we’re going to start working on something a bit different: we’re going to write an assembler for our VM! The status of the code for this part and the next is on GitHub. Assembler? Wikipedia says: An assembler is a program which creates object code by translating combinations of mnemonics and syntax for operations and addressing mod...