HD6417660 RENESAS [Renesas Technology Corp], HD6417660 Datasheet - Page 153

no-image

HD6417660

Manufacturer Part Number
HD6417660
Description
Renesas 32-Bit RISC Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
• Conditional Operations and Data Transfer
• Assignment of NOPX and NOPY Instruction Codes
Some instructions belonging to this class can be executed conditionally, as described earlier.
The specified condition is valid only for the B field of the instruction, and is not valid for data
transfer instructions for which a parallel specification is made. Examples are shown in figure
3.7.
When there is no data transfer instruction to be parallel-processed simultaneously with a DSP
data operation instruction, an NOPX or NOPY instruction can be written as the data transfer
instruction, or the instruction can be omitted. The instruction code is the same whether an
NOPX or NOPY instruction is written or the instruction is omitted. When there in no DSP data
operation instruction to be parallel-processed simultaneously with a data transfer instruction,
an NOPX or NOPY instruction can be written or the instruction can be omitted. Examples of
NOPX and NOPY instruction codes are shown in table 3.20.
Figure 3.7 Examples of Conditional Operations and Data Transfer Instructions
DCT PADD X0,Y0,A0
When condition is True
Before execution:
After execution:
When condition is False
Before execution:
After execution:
X0=H'33333333, Y0=H'55555555, A0=H'123456789A,
R4=H'00008000, R6=H'00005000, R9=H'00000004,
(R4)=1111
X0=H'11110000, Y0=H'55555555, A0=H'0088888888,
R4=H'00008002, R6=H'00005004, R9=H'00000004,
(H'00008000)=H'1111
X0=H'33333333, Y0=H'55555555, A0=H'123456789A,
R4=H'00008000, R6=H'00005000, R9=H'00000004,
(R4)=1111,
X0=H'11110000, Y0=H'55555555, A0=H'123456789A,
R4=H'00008002, R6=H'00005004, R9=H'00000004,
(H'00008000)=H'1111
MOVX.W @R4+,X0
(R6)=2222
(R6)=2222
MOVY.W A0,@R6+R9 ;
(H'00008233)=H'2222
(H'00008233)=H'2222
Rev. 1.00, 02/04, page 115 of 804

Related parts for HD6417660