Bm (multiple break) – Epson S5U1C62000A User Manual

Page 196

Advertising
background image

184

EPSON

S5U1C62000A MANUAL

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 9: DEBUGGER

bm

(multiple break)

Function

This command sets or clears multiple break conditions combined with a PC, data RAM access and
register breaks.

Format

(1) >bm <item> <value> [<item> <value> [... <item> <value>]]

↵

(direct input mode)

(2) >bm

↵

(guidance mode)

Multiple break set status

1. set

2. clear

…? <1 | 2>

↵

(Command is completed when "2" is selected.)

PC

Old value

: <value>

↵

ADDR

Old value

: <value>

↵

DATA

Old value

: <value>

↵

R/W

Old value

: <value>

↵

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>

↵

>

<item>: PC/ADDR/DATA/OPT/A/B/F/X/Y

(ADDR, DATA and OPT are for data RAM access, please refer to bd command)

<value>: Value set for each item; hexadecimal or binary with 'B' suffix (* can be used for the bits to be

masked)

Examples

Format (1)

>bm PC 150 ADDR 20 DATA 0 OPT W

↵

... Sets a PC and a data memory conditions. In this case, a break will occur when the program writes
0 to data memory address 0x20 and the program counter is set to 0x150.

Format (2)

>bm

↵

Combined break: None
1. set 2. clear ...? 1

↵

... "1. set" is selected.

PC ---- : 100

↵

... PC condition is input.

ADDR --- : 80

↵

... Data memory address is input.

DATA - : A

↵

... Data pattern is input.

R/W - : *

↵

... "*" masks the condition.

A - : *

↵

B - : 6

↵

... Register condition is input.

FI - : *

↵

FD - : *

↵

FZ - : 1

↵

FC - : *

↵

X --- : *

↵

Y --- : 120

↵

>bm

↵

PC:0100 ADDR:080 DATA:A R/W:*

A:* B:6 X:* Y:120 IDZC:**1*B

1. set

2. clear ... ? 2

↵

... "2. clear" is selected.

>

Advertising