Rev. 1.50, 10/04, page ix of xx
Contents
Section 1 Overview............................................................................................1
1.1
Features............................................................................................................................. 1
1.2
Changes from SH-4 to SH-4A .......................................................................................... 4
Section 2 Programming Model ..........................................................................7
2.1
Data Formats..................................................................................................................... 7
2.2
Register Descriptions ........................................................................................................ 8
2.2.1
Privileged Mode and Banks ................................................................................. 8
2.2.2
General Registers................................................................................................. 11
2.2.3
Floating-Point Registers....................................................................................... 12
2.2.4
Control Registers ................................................................................................. 14
2.2.5
System Registers.................................................................................................. 16
2.3
Memory-Mapped Registers............................................................................................... 19
2.4
Data Formats in Registers ................................................................................................. 20
2.5
Data Formats in Memory .................................................................................................. 20
2.6
Processing States............................................................................................................... 21
2.7
Usage Notes ...................................................................................................................... 22
2.7.1
Notes on Self-Modified Codes............................................................................. 22
Section 3 Instruction Set ....................................................................................23
3.1
Execution Environment .................................................................................................... 23
3.2
Addressing Modes ............................................................................................................ 25
3.3
Instruction Set ................................................................................................................... 29
Section 4 Pipelining ...........................................................................................43
4.1
Pipelines............................................................................................................................ 43
4.2
Parallel-Executability........................................................................................................ 54
4.3
Issue Rates and Execution Cycles..................................................................................... 56
Section 5 Exception Handling ...........................................................................65
5.1
Summary of Exception Handling...................................................................................... 65
5.2
Register Descriptions ........................................................................................................ 65
5.2.1
TRAPA Exception Register (TRA) ..................................................................... 66
5.2.2
Exception Event Register (EXPEVT).................................................................. 67
5.2.3
Interrupt Event Register (INTEVT) ..................................................................... 68
5.3
Exception Handling Functions.......................................................................................... 69
5.3.1
Exception Handling Flow .................................................................................... 69
5.3.2
Exception Handling Vector Addresses ................................................................ 69
5.4
Exception Types and Priorities ......................................................................................... 70
Summary of Contents for SuperH SH-4A
Page 2: ...Rev 1 50 10 04 page ii of xx ...
Page 8: ...Rev 1 50 10 04 page viii of xx ...
Page 116: ...Rev 1 50 10 04 page 96 of 448 ...
Page 178: ...Rev 1 50 10 04 page 158 of 448 ...
Page 206: ...Rev 1 50 10 04 page 186 of 448 ...
Page 231: ...Rev 1 50 10 04 page 211 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 235: ...Rev 1 50 10 04 page 215 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 238: ...Rev 1 50 10 04 page 218 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 408: ...Rev 1 50 10 04 page 388 of 448 Possible Exceptions Inexact Not generated when FPSCR PR 1 ...
Page 446: ...Rev 1 50 10 04 page 426 of 448 ...
Page 468: ...Rev 1 50 10 04 page 448 of 448 ...
Page 471: ......
Page 472: ...SH 4A Software Manual ...