ADDAD
Integer Addition Using Doubleword Addressing Mode
4-20
Syntax
ADDAD (.unit)
src2, src1, dst
.unit = . D1 or .D2
Opcode map field used...
For operand type...
Unit
Opfield
src2
src1
dst
sint
sint
sint
.D1, .D2
111100
src2
src1
dst
sint
ucst5
sint
.D1, .D2
111101
Opcode
31
29 28 27
23 22
18 17
creg
z
dst
13 12
5
4
3
2
1
0
op
0
0
0
s
p
3
5
5
5
6
7
6
1
0
src2
src1/cst
Description
src1 is added to src2 using the doubleword addressing mode specified for
src2. The addition defaults to linear mode. However, if src2 is one of A4–A7
or B4–B7, the mode can be changed to circular mode by writing the appropri-
ate value to the AMR (see section 2.6.1 on page 2-9).
src1 is left shifted by 3
due to doubleword data sizes. The result is placed in
dst. (See the ADDAB/
ADDAH/ADDAW instruction, page 3-34, for byte, halfword, and word ver-
sions.)
Note:
There is no SUBAD instruction.
Execution
if (cond)
src2 +(src1
tt
3)
→
dst
else
nop
Pipeline
Stage
E1
Read
src1
src2
Written
dst
Unit in use
.D
Instruction Type
Single-cycle
Delay Slots
0
Pipeline