S5U1C62000A MANUAL
EPSON
181
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
br
(register break)
Function
This command sets or clears register break. This command allows you to specify data or a mask that
constitutes a break condition for each register (A, B, F, X, and Y). The program will break when all
setting conditions are met.
Format
(1) >br <register> <value> [<register> <value> [...<register> <value>]]
↵
(direct input mode)
(2) >br
↵
(guidance mode)
Register break set status
1. set
2. clear
…? <1 | 2>
↵
(Command is completed when "2" is selected.)
A
Old value : <value>
↵
B
Old value : <value>
↵
FI
Old value : <value>
↵
FD
Old value : <value>
↵
FZ
Old value : <value>
↵
FC
Old value : <value>
↵
X
Old value : <value>
↵
Y
Old value : <value>
↵
>
<register>: Register name; A, B, F, X or Y
<value>:
Data pattern for the register; hexadecimal or binary with 'B' suffix (* can be used for the bits to
be masked)
Examples
Format (1)
>br F ***1B
↵
... Sets a register break condition so that the program breaks when the C flag is set.
Format (2)
>br
↵
Register break: None
1. set 2. clear ...? 1
↵
... "1. set" is selected.
A - : a
↵
... Data 0xa is set for A register condition.
B - : *
↵
... "*" masks the register condition.
FI - : 1
↵
FD - : *
↵
FZ - : 0
↵
FC - : *
↵
X - : 20
↵
Y - : ^
↵
... "^
↵
" returns guidance to previous setting.
X 020 : 60
↵
Y - : *
↵
>br
↵
A:A B:* X:060 Y:* IDZC:1*0*B
1. set
2. clear ...? 2
↵
... "2. clear" is selected.
>br
↵
Register break: None
1. set
2. clear ...?
↵
... Terminated by [Enter] key.
Summary of Contents for S5U1C62000A
Page 4: ......
Page 233: ...S1C62 Family Assembler Package Quick Reference ...