Section 2 CPU
Rev. 4.00 Sep. 14, 2005 Page 90 of 982
REJ09B0023-0400
Table 2.31 DSP Operation Instructions
Instruction
Instruction Code
Operation
Execution
States
DC
PMULS Se,Sf,Dg 111110**********
0100eeff0000gg00
Se * Sf → Dg (signed) 1
PADD Sx,Sy,Du
PMULS Se,Sf,Dg
111110**********
0111eeffxxyygguu
Sx + Sy → Du
Se * Sf → Dg (signed)
1 *
PSUB Sx,Sy,Du
PMULS Se,Sf,Dg
111110**********
0110eeffxxyygguu
Sy – Sy → Du
Se * Sf → Dg (signed)
1 *
PADD Sx,Sy,Dz 111110**********
10110001xxyyzzzz
Sx + Sy → Dz 1 *
DCT PADD Sx,Sy,Dz 111110**********
10110010xxyyzzzz
If DC = 1, Sx + Sy → Dz
If DC = 0, nop
1
DCF PADD Sx,Sy,Dz 111110**********
10110011xxyyzzzz
If DC = 0, Sx + Sy → Dz
If DC = 1, nop
1
PSUB Sx,Sy,Dz 111110**********
10100001xxyyzzzz
Sx – Sy → Dz 1 *
DCT PSUB Sx,Sy,Dz 111110**********
10100010xxyyzzzz
If DC = 1, Sx – Sy → Dz
If DC = 0, nop
1
DCF PSUB Sx,Sy,Dz 111110**********
10100011xxyyzzzz
If DC = 0, Sx – Sy → Dz
If DC = 1, nop
1
PSHA Sx,Sy,Dz 111110**********
10010001xxyyzzzz
If Sy > = 0, Sx << Sy → Dz
(arithmetic shift)
If Sy<0, Sx>>Sy → Dz
1 *
DCT PSHA Sx,Sy,Dz 111110**********
10010010xxyyzzzz
If DC = 1 & Sy > = 0,
Sx << Sy → Dz (arithmetic
shift)
If DC = 1 & Sy < 0,
Sx >> Sy → Dz
If DC = 0, nop
1