Skip to main content

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.

Reference

http://www.nand2tetris.org/07.php

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vm_translator-0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file vm_translator-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vm_translator-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0138663cd68f4b6b522c902e494a8154c682bd531f160530e97c087c26693f41
MD5 e8fafd430f372d9cd3d9378b639bf578
BLAKE2b-256 171632408eaa5bdf664ad7505224085f31a1f8b63c2ae964a50ce1494a94451a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page