Section 2 CPU
Rev. 5.00 May 29, 2006 page 16 of 698
REJ09B0146-0500
2.1.3
System Registers
System registers can be accessed by the LDS and STS instructions. When an exception occurs, the
contents of the program counter (PC) are saved in the saved program counter (SPC). The SPC
contents are restored to the PC by the RTE instruction used at the end of the exception handling.
There are three system registers, as follows.
•
Multiply and accumulate register (MAC)
•
Procedure register (PR)
•
Program counter (PC)
The system register configuration is shown in figure 2.3.
31
0
31
0
31
0
Multiply and Accumulate Register (MAC)
Procedure Register (PR)
Program Counter (PC)
PR
PC
MACH
MACL
Figure 2.3 System Registers
1. Multiply and Accumulate Register (MAC)
Multiply and Accumulate register is consist of Higher part register (MACH) and Lower part
register (MACL).
Store the results of multiply-and-accumulate operations.
Initialized to undefined by a reset.
2.
Procedure Register (PR)
Stores the return address for exiting a subroutine procedure.
Initialized to undefined by a reset.
3.
Program Counter (PC)
Indicates the address four addresses (two instructions) ahead of the currently executing
instruction. Initialized to H'A0000000 by a reset.
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...