Code for assembler (project 6) and VMtranslator (project 7)