beautypg.com

Bm, bmr, Set/reset break multiple condition – Epson S1C62 Family User Manual

Page 171

background image

Format

ICE CONTROL SOFTWARE ICS62XX

S1C62 FAMILY

EPSON

VIII-57

DEVELOPMENT TOOL REFERENCE MANUAL

SET/RESET BREAK MULTIPLE CONDITION

BM, BMR

#BM

(With guidance)

#BMR

Examples

#BM
PC 100:*

...

PC mask

ADDR 70:71
DATA A:^

...

Enables return to previous operation when ^ key is entered

ADDR 71:72
DATA A:

...

Previous setting retained when

alone is entered

R/W *:W
A *:
B *:
FI *:
FD 1:
FZ *:
FC 1:
X *:70
Y 7E:

As shown above, a break is generated when data A is written to RAM address 72 if CPU register
X=70, Y=7E, FD=1 and FC=1.

#BM
PC *:100
ADDR 71:/

...

Entering /

does not alter later settings; adds PC=100 to

above conditions

#BMR

...

Cancels condition set by BM command

#BM
PC ----:

...

Entering

after canceling BM setting confirms cancellation

#

(1) Use of the BM command automatically cancels BA, BD and BR commands.

(2) This instruction runs a break comparison only during execution with memory access. The

above described limitations remain even when ADDR, data and R/W are masked.
Therefore, a break will not occur when the instruction does not access data memory even
if the PC and register values coincide.

(3) Each model has a different RAM area, and XY settings in a BM command can be set to

FFF.

Notes