HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 82

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
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:
Address set instructions for RS and RE are also provided.
Rev. 4.00 Sep. 14, 2005 Page 32 of 982
REJ09B0023-0400
LDC Rm,RS;
LDC.L @Rm+,RS;
STC RS,Rn;
STC.L RS,@-Rn;
LDRS @(disp,PC); disp × 2 + PC -> RS
LDRE @(disp,PC); disp × 2 + PC -> RE
Rm -> RS
RS -> Rn
(Rm) -> RS, Rm+4 -> Rm
Rn-4 -> Rn, RS -> (Rn)

Related parts for HD6417641