Command Line Tools¶
ebc-assemble¶
Assemble eight bit computer assembly files to machine code.
usage: ebc-assemble [-h] [-o OUTPUT_FILEPATH] [-s VARIABLE_START_OFFSET]
[-f {logisim,cpp}]
asm_filepath
Positional Arguments¶
| asm_filepath | Path to the assembly file to assemble. |
Named Arguments¶
| -o, --output_filepath | |
| Filepath to write the machine code to. E.g. “../machine_code.mc”. Including ./ for a file in the current directory is optional. | |
| -s, --variable_start_offset | |
Index in data memory to start assigning automatically assigned variables at. Default: 0 | |
| -f, --output_format | |
Possible choices: logisim, cpp Format to write the machine code in. Default: “logisim” | |
ebc-gen-roms¶
Generate ROMs that contain the microcode.
usage: ebc-gen-roms [-h] [-o OUTPUT_DIR] [-p ROM_PREFIX] [-f {logisim,cpp}]
Named Arguments¶
| -o, --output_dir | |
Directory to write the ROMs into. Default: “.” | |
| -p, --rom_prefix | |
Prefix for the ROM files. Default: “rom” | |
| -f, --output_format | |
Possible choices: logisim, cpp Format to write the ROMs in. Default: “logisim” | |