Skip to content
Matthew Joyce edited this page Jan 1, 2016 · 3 revisions

The CLI

Command line options:

  • -h, --help - show this help message and exit
  • -d, --debug - debug level (repeat for more info, 3 is the max)
  • -f FILE, --file FILE - lmc file (optional, as the user will be promoted otherwise)
  • -l, --licence - display licence
  • -V, --version - display version

Debugging

specter comes with several debugging levels (the layers stack, so the information about layers above applies):

  1. This is the default. No debug information is printed.
  2. The current instruction is printed, along with the action it will perform.
  3. Stuff from level 1, and the memory, accumulator and instruction counter is also printed at each step.
  4. Stuff from level 2, and prints numeric code of current instruction, and other information which is probably not useful.

The debug level can be set by repeating the -d command line flag.

Also see: The GUI

Clone this wiki locally