Figure 3.19 Dsp Addressing Instructions For Movx.w And Movy.w - Renesas HD6417641 Hardware Manual

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

Advertisement

Section 3 DSP Operation
+2 (INC)
+0 (Not update)
Three address operation types:
1. Not update
2. Add-index-register (Ix/Iy)
3. Increment
All operations are post-update type.
To decrement an address pointer, set –2 in an index register.

Figure 3.19 DSP Addressing Instructions for MOVX.W and MOVY.W

Addressing in X and Y data transfer operation is always word mode; that is access to X and Y data
memories are 16-bit data width. Therefore, the increment operation adds 2 to an address register.
To realize decrement, set –2 in an index register and use add-index-register operation.
Addressing for MOVS: This LSI has single-data transfer instructions (MOVS.W and MOVS.L)
to load/store DSP data registers. In these instructions, R2 to R5 (As: Address register for single-
data transfer) are used for the address pointer.
There are four data addressing types for single-data transfer operation.
1. Not-update address register
2. Add-index register (post-update)
3. Increment address register (post-update)
4. Decrement address register (pre-update)
The address pointer set As has an index register R8[Is] (figure 3.20)
Rev. 4.00 Sep. 14, 2005 Page 134 of 982
REJ09B0023-0400
R8 [Ix]
R4 [Ax]
R5 [Ax]
ALU
R9 [Iy]
+2 (INC)
+0 (Not update)
Additional
adder for DSP
addressing
R6 [Ay]
R7 [Ay]
AU

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents