Pyntel4004-cli

CLI (Command Line Interface for Pyntel4004)


Keywords
python3, intel, 4004, CPU, Command, Line
License
MIT
Install
pip install Pyntel4004-cli==0.0.1a3

Documentation

Pyntel4004-cli

Pyntel4004-cli Logo

Command Line Interface for Pyntel4004

Basic Usage.

4004 <command> <options> <arguments>

<command>

  • asm Assemble the input file
  • dis Disassemble the input file
  • exe Execute the object file

<options>

  • -h, --help: Show help.
  • -v, --version: Show the version and exit.


asm options.

  • -i, --input <input file>: assembly language source file [required].

  • -o, --output <output file>: object code output file.

  • -e, --exec: execute the assembled program if successful assembly.

  • -q, --quiet: Quiet mode on *

  • -m, --monitor: Start monitor*

  • -h, --help: Show help.

*Mutually exclusive parameters



dis options.

  • -o, --object <object file>: object code or binary input file. [required]

  • -b, --byte: number of bytes to disassemble (between 1 and 4096).

    It is the user's responsibility to understand that if a byte count causes the disassembler to end up midway through a 2-byte instruction, that last instruction will not be disassembled correctly.

  • -h, --help: Show help.



exe options.

  • -o, --object <object file>: object code or binary input file.[required].

  • -q, --quiet: Quiet mode on

  • -h, --help: Show help.