Integer Addition Using Addressing Mode
ADDAB/ADDAH/ADDAW
3-35
TMS320C62x/C67x Fixed-Point Instruction Set
Example 1
ADDAB .D1
A4,A2,A4
Before instruction
1 cycle after instruction
A2
0000 000Bh
A2
0000 000Bh
A4
0000 0100h
A4
0000 0103h
AMR
0002 0001h
AMR
0002 0001h
BK0 = 2
→
size = 8
A4 in circular addressing mode using BK0
Example 2
ADDAH .D1
A4,A2,A4
Before instruction
1 cycle after instruction
A2
0000 000Bh
A2
0000 000Bh
A4
0000 0100h
A4
0000 0106h
AMR
0002 0001h
AMR
0002 0001h
BK0 = 2
→
size = 8
A4 in circular addressing mode using BK0
Example 3
ADDAW .D1
A4,2,A4
Before instruction
1 cycle after instruction
A4
0002 0000h
A4
0002 0000h
AMR
0002 0001h
AMR
0002 0001h
BK0 = 2
→
size = 8
A4 in circular addressing mode using BK0