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

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
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.
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
–2/–4 (DEC)
+2/+4 (INC)
+0 (no update)
Note:
Figure 2.13 Single Data Transfer Addressing
Four address processing methods:
1. No update
2. Index register addition (Is)
3. Increment
4. Decrement
31
R8[Is]
ALU
0
31
R2[As]
R3[As]
R4[As]
R5[As]
Post-increment
Pre-decrement
0
MAB
31
0
CAB

Related parts for HD6417641