LC-3 Simulator Commands
This page lists the commands that lc3db accepts. You can get this
list from the simulator by typing "help". Although the graphical
interface provides buttons that perform some of these operations
(e.g., step and next), some of the buttons do not operate correctly
(e.g., break). Commands entered directly into the command window will
always work as specified.
Commands: - shortcuts shown in ()
Set breakpoint at address or at the label indicated by sym.
Executions instructions until halt.
Disassemble insructions from address to .
Dump the memory from address start to end.
Sets the data represented by symbol to value
Loads a file named filename.obj. It will also attempt to read a debug
named filename.dbg. The PC will be set to where the file was loaded.
Steps over the next instruction (useful for TRAP and JSR commands)
Prints the value of the symbol, register, or address specified by
data. Use "print all" to see contents of registers.
Initializes the machines and runs the operating system.
step (s) [num]
Executes the next num instruction.
quit (q) exit
Quits the simulation session.
Examine contents of registers.
Displays this help screen
Last modified: 03/12/2009 by
Don Fussell email@example.com