Renesas SH7781 User Manual
Page 141
5. Exception Handling
Rev.1.00 Jan. 10, 2008 Page 111 of 1658
REJ09B0261-0100
• Transition operations:
The virtual address (32 bits) at which this exception occurred is set in TEA, and the
corresponding virtual page number (22 bits) is set in PTEH [31:10]. ASID in PTEH indicates
the ASID when this exception occurred.
The PC and SR contents for the instruction at which this exception occurred are saved in SPC
and SSR. The R15 contents at this time are saved in SGR.
Exception code H'0E0 (for a read access) or H'100 (for a write access) is set in EXPEVT. The
BL, MD, and RB bits are set to 1 in SR, and a branch is made to PC = VBR + H'0100. For
details, see section 7, Memory Management Unit (MMU).
Data_address_error()
{
TEA = EXCEPTION_ADDRESS;
PTEH.VPN = PAGE_NUMBER;
SPC = PC;
SSR = SR;
SGR = R15;
EXPEVT = read_access? H'0000 00E0: H'0000 0100;
SR.MD = 1;
SR.RB = 1;
SR.BL = 1;
PC = VBR + H'0000 0100;
}
- Single-Chip Microcomputer M34551T2-MCU (42 pages)
- M3T-FLX-80NRA (6 pages)
- 70 (162 pages)
- M16C/30P (102 pages)
- PROM Programming Adapter PCA7427G02 (20 pages)
- R0E572110CFK00 (40 pages)
- H8/325 Series (20 pages)
- Single-Chip Microcomputer H8/36079 (27 pages)
- Direct Dummy IC M3T-DIRECT100S (4 pages)
- M3A-2152 (95 pages)
- PCA7755D (6 pages)
- M16C/6N5 (106 pages)
- SH7085 (50 pages)
- QFP-144 (23 pages)
- H8/3834 Series (22 pages)
- RSKM16C62P (3 pages)
- H8/33937 (22 pages)
- Single-Chip Microcomputer H8SX/1622 (5 pages)
- E6000 (29 pages)
- PCA7400 (18 pages)
- PCA4738FF-64 (20 pages)
- SuperH HS7339KCU01HE (43 pages)
- M16C FAMILY (103 pages)
- PCA7412F-100 (20 pages)
- 4513 (210 pages)
- M34551E8FP (16 pages)
- Dummy IC M3T-SSOP36B-450 (4 pages)
- Emulation Pod M30100T3-RPD-E (52 pages)
- Converter Board for M30102 M30102T-PTC (4 pages)
- SH7145 (31 pages)
- HS1653ECN61H (36 pages)
- Converter Board R0E521276CFG00 (4 pages)
- PCA7302E1F-80 (18 pages)
- H8/3814 Series (21 pages)
- H8S/2646 Series (20 pages)
- SuperHTM Family SH7125 Series (40 pages)
- M30262T-PTC (4 pages)
- SH7670 (82 pages)
- H8/3864 Series (20 pages)
- Emulator System M3T-MR100 (306 pages)
- 38K0 (6 pages)
- PLQP0176KB-A (40 pages)
- Direct Dummy IC M3T-DIRECT80S (6 pages)
- PCA4738L-80A (26 pages)
- Converter Board R0E5212BACFG00 (6 pages)