English
Language : 

SH7641 Datasheet, PDF (104/1036 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family / SH7641 Series
Section 2 CPU
The R8 register is the index register (Is) for the address pointer (As). Single data transfer
addressing is shown in figure 2.13.
31
0
R2[As]
31
0
R8[Is]
R3[As]
R4[As]
–2/–4 (DEC)
+2/+4 (INC)
+0 (no update)
R5[As]
ALU
31
MAB
CAB
0
Note:
Four address processing methods:
1. No update
2. Index register addition (Is)
3. Increment
4. Decrement
Post-increment
Pre-decrement
Figure 2.13 Single Data Transfer Addressing
Modulo Addressing: Like other DSPs, this LSI has a modulo addressing mode. Address registers
are updated in the same way in this mode. When the address pointer value reaches the preset
modulo end address, the address pointer value becomes the modulo start address.
Modulo addressing is only available for the X and Y data transfer instructions (MOVX.W and
MOVY.W). Modulo addressing mode is specified for the X address register by setting the DMX
bit in the SR register, and for the Y address register by setting the DMY bit. Modulo addressing is
valid for either the X or the Y address register, only; it cannot be set for both at the same time.
Therefore, DMX and DMY cannot both be set simultaneously. If they are, only the DMY setting
will be valid.
The MOD register is provided to set the start and end addresses of the modulo address area. The
MOD register contains MS (Modulo Start) and ME (Modulo End). An example of the use of the
MOD register (MS and ME fields) is shown below.
Rev. 4.00 Sep. 14, 2005 Page 54 of 982
REJ09B0023-0400