beautypg.com

Bm (multiple break) – Epson S5U1C62000A User Manual

Page 196

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 [ [... ]]

(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

:

ADDR

Old value

:

DATA

Old value

:

R/W

Old value

:

A

Old value

:

B

Old value

:

FI

Old value

:

FD

Old value

:

FZ

Old value

:

FC

Old value

:

X

Old value

:

Y

Old value

:

>

: PC/ADDR/DATA/OPT/A/B/F/X/Y

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

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

>