Assembles Hack assembly files into Hack machine language files.
Project description
An Assembler program that translates programs written in the symbolic Hack assembly language into binary code that can execute on the Hack hardware platform built in the previous projects.
Usage
The assembler can be invoked via command line with the command:
hack-assemble fileName.asm
, where the string fileName.asm is the assembler’s input, i.e. the name of a text file containing Hack assembly commands. The assembler creates an output text file named fileName.hack. Each line in the output file consists of sixteen 0 and 1 characters. 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hack_assemble-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34c9e0e87298baacc7998d33b65dd6a23ec9ba2f7cca61785cee2c55405f38a0 |
|
MD5 | 7f714a83a7d5820dfce4696bd22932b0 |
|
BLAKE2b-256 | 2a3262ba704b0220078260f3013073611d4500c6e901396e90ac71b8f599717d |