
Hitachi Embedded Workshop User Manual
285
5.14
BREAK_REGISTER
Abbreviation: BR
Description:
Specifies a register data as a break condition
Syntax:
br
<register name> [<data> <size>] [<option>] [<Action>]
Parameter
Type
Description
<register>
Character
string
Register name.
<data>
Numeric
Access data.
Keyword
Access size. If no size is specified, the size of the
specified register is assumed. Note that when data is
specified, the size must not be omitted.
byte
Byte size
word
Word size
longword
Longword size
single
Single-precision floating-point size
<size>
double
Double-precision floating-point size
Keyword
Match or mismatch of data. The default is EQ.
EQ
A break occurs when the data matches the specified
value.
<option>
NE
A break occurs when the data does not match the
specified value.
Keyword
Action taken when the conditions are satisfied (optional,
default = Stop)
Stop (P)
Halts the execution of the user program
Input (I)
Inputs(saves) data to a file
Output (O)
Outputs(reads) data from a file
<Action>
Interrupt (T)
Initiates a pseudo-interrupt
Format:
The method of defining each Action are as follows.
Stop
Input <filename> <addr> <size> <count>
Parameter
Type
Description
<filename>
Character
string
The name of the file from which data is input
<addr>
Numeric
Address to which the data is read.
<size>
Numeric
Size per data packet (1/2/4/8)
<count>
Numeric
Number of data packets (H’01 to H’FFFFFFFF)