Br (register break), Bl (break point list) – Epson S5U1C63000A User Manual

Page 204

Advertising
background image

CHAPTER 8: DEBUGGER

190

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

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>

↵

FE

Old value

: <value>

↵

FI

Old value

: <value>

↵

FC

Old value

: <value>

↵

FZ

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 (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.

X 20 : 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.

>

Advertising