Spare Time Gizmos
SBC6120 User's Manual
03/09/2003 1:35 PM
Page 30
Format
>DR
xx
yyyy
⇒
deposit
yyyy
into register
xx
5.4 B
REAKPOINT
C
OMMANDS
5.4.1 BL (List Brea kpoints)
This command will list all the breakpoints that are currently set. It has no operands.
Format
>BL
⇒
list all the currently set breakpoints
5.4.2 BP (Break Po int)
The
BP
command sets a breakpoint in the main memory program. It requires a single argument
giving the 15 bit address where the breakpoint is to be set.
WARNING!
It is not possible to set a breakpoint at location zero in any field. BTS6120
uses zero as a marker for an unused breakpoint table entry.
Formats
>BP
faaaa
⇒
set a breakpoint at location
faaaa
>BP
aaaa
⇒
set breakpoint at
aaaa
in the current instruction field
Examples
>BP 07605
! set a breakpoint at location 7605, field 0
>BP 7605
! IF = 1
>BL
07605/ 0000
17605/ 0000
5.4.3 BR (Remove Breakpoint)
The
BR
command removes a breakpoint at a specific address or, if no argument is given,
removes all breakpoints.
Formats
>BR
⇒
remove all breakpoints
>BR
aaaaa
⇒
remove only the breakpoint at location
aaaaa
Examples
>BR 17605
! remove the breakpoint at location 7605, field 1
>BL
07605/ 0000
>BR
! remove all breakpoints regardless of address
>BL
?None set
5.4.4 P (Proceed)
The
P
command is used to proceed after the main memory program has stopped at a breakpoint.
You can't simply continue at this point because the PC points to the location of the breakpoint,