Virtual Machine Translator image

Virtual Machine Translator

Project Overview

A C++ implementation of a VM translator that converts virtual machine code (.vm) into Hack assembly language (.asm) as specified in the nand2tetris course. This translator implements the standard VM model with stack-based operations, memory segments, and function call handling. The VMTranslator reads a .vm file containing intermediate VM code and translates it into Hack assembly code that can run on the Hack computer platform. It handles all standard VM operations including arithmetic commands, memory segment access, program flow, and function calling conventions.

Skills Used

Assembly C++ Stack Virtual Machine Design NAND2TETRIS Course