English
Language : 

SH7065 Datasheet, PDF (72/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 2 CPU
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
IAB
0
Note: Four address processing methods:
1. No update
2. Index register addition (Is)
3. Increment
4. Decrement
Post-updating
Pre-updating
Figure 2.10 Single Data Transfer Addressing
Modulo Addressing
Like other DSPs, the SH7065 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,
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, 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. 5.00 Sep 11, 2006 page 50 of 916
REJ09B0332-0500