beautypg.com

Figure 2.5 control registers (2) – Renesas SH7641 User Manual

Page 84

background image

Section 2 CPU

Rev. 4.00 Sep. 14, 2005 Page 34 of 982

REJ09B0023-0400

SSR

31

0

Saved status register (SSR)

SPC

31

0

Saved program counter (SPC)

GBR

31

0

Global base register

VBR

31

0

Vector base register

RS

31

0

Repeat start register

RE

31

0

Repeat end register

ME

MS

31

16 15

0

Modulo register

MOD

ME: Modulo end address, MS: Modulo start address

Saved status register (SSR)
Stores current SR value at time of exception to indicate processor status when returning to instruction stream from
exception handler.

Saved program counter (SPC)
Stores current PC value at time of exception to indicate return address on completion of exception handling.

Global base register (GBR)
Stores base address of GBR-indirect addressing mode. The GBR-indirect addressing mode is used for data transfer
and logical operations on the on-chip peripheral module register area.

Vector base register (VBR)
Stores base address of exception vector area.

Repeat start register (RS)
Used in DSP mode only. Indicates start address of repeat loop.

Repeat end register (RE)
Used in DSP mode only. Indicates address of repeat loop end.

Modulo register (MOD)
Used in DSP mode only.
MD[31:16]: ME: Modulo end address, MD[15:0]: Modulo start address.
In X/Y operand address generation, the CPU compares the address with ME, and if it is the same, loads MS in either
the X or Y operand address register (depending on bits DMX and DMY in the SR register).

Figure 2.5 Control Registers (2)

This manual is related to the following products: