An experimental, minimal VM: qxInt program[] = { //Initialize the counter QX_CONST, 0, QX_CONST, 1, QX_SET, //Get current value QX_CONST, 0, QX_CONST, 0, QX_GET, //Increment value and store QX_CONST, 1, QX_ADD, QX_SET, //Print the value QX_CONST, 0, QX_GET, QX_PRINT, //Jump back to get current value QX_CONST, 1, QX_CONST, 4, QX_JIF }; qxDo( program ); This program infinitely increments a counter and prints each value to the console I plan on using the VM as backend for some experimental programming language later.