English
Language : 

SH7763 Datasheet, PDF (1856/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 41 User Break Controller (UBC)
Hardware operations
Exception/interrupt
is generated
SPC ← PC
SSR ← SR
SR.BL ← B'1
SR.MD ← B'1
SR.RB ← B'1
Exception
EXPEVT ← Exception code
Exception/interrupt/trap?
Interrupt
INTEVT ← Interrupt code
Trap
EXPEVT ← H'160
TRA ← TRAPA (imm)
SGR ← R15
No
Reset exception?
Yes
(CBCR.UBDE == 1)
No
&& (user break)?
PC ← DBR
PC ← VBR + vector offset
Yes
PC ← H'A000 0000
Debugging program
R15 ← SGR
(STC instruction)
Exception handling routine
Execute RTE instruction
PC ← SPC
SR ← SSR
Exception operation ends
Figure 41.2 Flowchart of User Break Debugging Support Function
Rev. 1.00 Oct. 01, 2007 Page 1790 of 1956
REJ09B0256-0100