Renesas HD6417641 Hardware Manual page 82

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Section 2 CPU
and end addresses of a loop (the contents of the RS and RE registers are slightly different from the
actual loop start and end addresses).
The modulo register, MOD, is provided to implement modulo addressing for circular data
buffering. MOD holds the modulo start address (MS) and modulo end address (ME).
In order to access RS, RE and MOD, load/store (control register) instructions for these registers
are provided. An example for RS is as follows:
LDC Rm,RS;
Rm -> RS
LDC.L @Rm+,RS;
STC RS,Rn;
RS -> Rn
STC.L RS,@-Rn;
Address set instructions for RS and RE are also provided.
LDRS @(disp,PC); disp × 2 + PC -> RS
LDRE @(disp,PC); disp × 2 + PC -> RE
Rev. 4.00 Sep. 14, 2005 Page 32 of 982
REJ09B0023-0400
(Rm) -> RS, Rm+4 -> Rm
Rn-4 -> Rn, RS -> (Rn)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents