CHAPTER 8: 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.)

AOld value : <value>

BOld value : <value>FE Old value : <value>FI Old value : <value>FC Old value : <value>FZ Old value : <value>

XOld value : <value>

YOld value : <value>

>

<register>: Register name; A, B, F, X or Y

<value>: Data pattern for the register; hexadecimal or binary (F register) (* can be used for the bits to be masked)

Examples

 

 

 

 

Format (1)

 

 

 

>br f **1*

 

... Sets a register break condition so that the program breaks when the C flag is set.

Format (2)

 

 

 

>br

 

 

 

 

A: -

B: -

X: -

Y: -

EICZ: -

1. set

2. clear ...? 1

... "1. set" is selected.

A

 

- : a

 

... Data 0xa is set for A register condition.

B

 

- : *

 

... "*" masks the register condition.

FE

 

- : *

 

 

FI

 

- : *

 

 

FC

 

- : 1

 

 

FZ

 

- : *

 

 

X

 

- : 20

 

 

Y

 

- : ^

 

... "^" returns guidance to previous setting.

X20 : 60

Y- : *

>br

A:a

B:*

X:60

Y:* EICZ:**1*

 

1.

set

2.

clear

...?

2

... "2. clear" is selected.

>br

 

 

 

 

 

 

A: - B: -

X: -

 

Y: -

EICZ: -

1.

set

2.

clear

...?

...Terminated by [Enter] key.

>

190

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)