Bd (Data Break) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

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>
(2) >bd
Data break set status
1. set
2. clear
data
Old data
R/W (R,W, )
Old 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
Examples
Format (1)
>bd 1000 W 0 f
Format (2)
>bd
data: -
R/W: -
1. set
2. clear ...? 1
data
---- : 1***
R/W (R,W,*)
-
Start address ---- : 0
End
address ---- : f
>bd
data: 1***
R/W: W
1. set
2. clear ...? 2
>bd
data: -
R/W: -
1. set
2. clear ...?
>
" " in the binary data pattern specifies that the bit will not be compared with the actual read/write
data.
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
...? <1 | 2>
: <data>
: <option>
address1
address2
0xffff, 0
... 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.
area:
-
: w
area: 0000 - 000F
area:
-
(direct input mode)
(guidance mode)
(Command is completed when "2" is selected.)
data
0b1111
... "1. set" is selected.
... Data pattern is set to 0b1***.
... R/W condition is set for write access.
... Break address range is set to 0x0–0xf.
... Currently set condition.
... "2. clear" is selected.
...Terminated by [Enter] key.
EPSON
CHAPTER 8: DEBUGGER
187

Advertisement

Table of Contents
loading

Table of Contents