An assembler and multithreaded virtual machine