Section 9.2: Assembling and running CSC-1 programs (Frame 13)                     [prev][home][next]
Another handy feature is the ability to set a breakpoint, which is a location at which the computer will stop after it executes. To set a breakpoint, type "b" followed by the memory address: >> b15

In order to know where you want to set it, you must study the .lis file.
Then use "xx" to execute a bunch of commands.  When the computer is just about
to execute the instruction at address 15, it will halt and give you back the
prompt, at which point you can use any commands, inspect memory, change
things and possibly change the breakpoint.  If you don't change the breakpoint
it stays in effect.  To get past the breakpoint, just type "x" to do the next
instruction, or "xx" to continue.