178
EPSON
S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
bd
(data break)
Function
This command sets or clears data break. This command allows you to specify the following break
conditions:
1. Memory address to be read or written (one location)
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 <address> <data> <option>
↵
(direct input mode)
(2) >bd
↵
(guidance mode)
Data break set status
1. set 2. clear
…? <1 | 2>
↵
(Command is completed when "2" is selected.)
ADDR
Old address
: <address>
↵
DATA
Old data
: <data>
↵
R/W
Old option
: <option>
↵
>
<address>: The specified address; hexadecimal or symbol (IEEE-695 format only)
<data>:
Data pattern; hexadecimal or binary with 'B' suffix (
∗
can be input for the bits to be masked)
<option>:
Memory read/write option; r, w, or
∗
Condition: 0
≤
address
≤
last data memory address, 0
≤
data
≤
0xf
Examples
Format (1)
>bd 0020 5 W
↵
... Sets a data break condition so that the program breaks when "5" is written
to address 0x20.
* The direct input mode cannot clear the set condition.
Format (2)
>bd
↵
ADDR : 020 DATA: 5 R/W: W
... Currently set condition.
1. set 2. clear ...? 1
↵
... "1. set" is selected.
ADDR 020 : 100
↵
... Break address is set to 0x100.
DATA 5 : 1*1*B
↵
... Data pattern is set to 0b1*1*.
R/W W : *
↵
... R/W condition is set for read and write access.
>bd
↵
ADDR : 100 DATA: 1*1*B R/W: *
1. set 2. clear ...? 2
↵
... "2. clear" is selected.
>bd
↵
Data break: None
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.