Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 8: DEBUGGER
S5U1C63000A MANUAL EPSON 187
(S1C63 FAMILY ASSEMBLER PACKAGE)
bd (data break)
Function
This command sets or clears data break. This command allows you to specify the following break
conditions:
1. Memory address range to be read or written (one area)
2. Data pattern to be read or written (bit mask possible)
3. Memory read/write (three conditions: read, write, or read or write)
The program breaks after completing a memory access that satisfies the above conditions.
Format
(1) >bd <data> <option> <address1> <address2> (direct input mode)
(2) >bd (guidance mode)
Data break set status
1. set 2. clear …? <1 | 2> (Command is completed when "2" is selected.)
data
Old data
: <data>
R/W (R,W,)
Old option
: <option>
Start address
Old address
: <address1>
End address
Old address
: <address2>
>
<data>: Data pattern; binary ( can be input for the bits to be masked)
<option>: Memory read/write option; r, w, or
<address1–2>: The specified address; hexadecimal or symbol (IEEE-695 format only)
Condition: 0 address1 address2 0xffff, 0 data 0b1111
Examples
Format (1)
>bd 1000 W 0 f ... Sets a data break condition so that the program breaks when 0x8 is written
to the address range from 0x0 to 0xf.
* The direct input mode cannot clear the set condition.
Format (2)
>bd
data: - R/W: - area: -
1. set 2. clear ...? 1 ... "1. set" is selected.
data ---- : 1*** ... Data pattern is set to 0b1***.
R/W (R,W,*) - : w ... R/W condition is set for write access.
Start address ---- : 0 ... Break address range is set to 0x0–0xf.
End address ---- : f
>bd
data: 1*** R/W: W area: 0000 - 000F ... Currently set condition.
1. set 2. clear ...? 2 ... "2. clear" is selected.
>bd
data: - R/W: - area: -
1. set 2. clear ...? ...Terminated by [Enter] key.
>
"" in the binary data pattern specifies that the bit will not be compared with the actual read/write
data.