Skip to content
Matthew Joyce edited this page Sep 24, 2014 · 12 revisions

The GUI

yaplmc comes with a tkinter GUI, which may provide a nicer interface to work with.

Assembling:

Running (with color markers):

Error (for explanation see Assembly Errors):

Explanation of buttons:

  • Run to halt - Run until a HLT instruction is encountered.
  • Run one step - Execute next instruction, then halt. Can be presses multiple times for "step though" effect.
  • Reset - Reset registers and memory. Equivalent to restarting the program.
  • Exit - Does what is says on the packet.

Explanation of colors in memory and accumulator:

  • Red - Was written to in the last step.
  • Yellow - Was read in the last step.
  • Green - Instruction was executed in the last step.
  • White - Nothing happened.

Clone this wiki locally