SH7751 Group, SH7751R Group
Section 20 User Break Controller (UBC)
R01UH0457EJ0301 Rev. 3.01
Page 817 of 1128
Sep 24, 2013
SPC
←
PC
SSR
←
SR
SR.BL
←
B'1
SR.MD
←
B'1
SR.RB
←
B'1
Exception/interrupt
g
eneration
Exception
Exception/
interrupt/trap?
Trap
Interrupt
PC
←
H'A0000000
PC
←
VBR + vector offset
Exception handlin
g
routine
Execute RTE instruction
PC
←
SPC
SR
←
SSR
SGR
←
R15
EXPEVT
←
H'160
TRA
←
TRAPA (imm)
PC
←
DBR
Debu
g
pro
g
ram
R15
←
SGR
(STC instruction)
Reset exception?
(BRCR.UBDE == 1) &&
(user break exception)?
End of exception
operations
INTEVT
←
interrupt code
EXPEVT
←
exception code
Yes
No
No
Yes
Hardware operation
Figure 20.2 User Break Debug Support Function Flowchart