Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Translates VM files into Hack assembly files.

Project description

Translates a file containing VM (Virtual Machine) commands into a Hack assembly language file. The VM specification can can be found in the section 7.2 of Nisan, Noam. “The Elements of Computing Systems: Building a Modern Computer from First Principles.”

Usage

The assembler can be invoked via command line with the command:

vm-translator fileName.vm

, where the string fileName.vm is the translator’s input, i.e. the name of a text file containing VM commands. The translator creates an output text file named fileName.asm, containing Hack assembly commands. The output file is stored in the same directory of the input file. The name of the input file may contain a file path.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vm-translator, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size vm_translator-0.1-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page