Addu – Texas Instruments TMS320C67X/C67X+ DSP User Manual
Page 124
ADDU
Add Two Unsigned Integers Without Saturation
3-64
Instruction Set
SPRU733
Example 1
ADDU .L1
A1,A2,A5:A4
Before instruction
1 cycle after instruction
A1 0000 325Ah
12890
†
A1 0000 325Ah
A2 FFFF FF12h
4294967058
†
A2 FFFF FF12h
A5:A4 xxxx xxxxh
A5:A4 0000 0001h
0000 316Ch
4294979948
‡
†
Unsigned 32-bit integer
‡
Unsigned 40-bit (long) integer
Example 2
ADDU .L1
A1,A3:A2,A5:A4
Before instruction
1 cycle after instruction
A1 0000 325Ah 12890
A1 0000 325Ah
A3:A2 0000 00FFh FFFF FF12h 1099511627538
‡
A3:A2 0000 00FFh
FFFF FF12h
A5:A4 0000 0000h 0000 0000h 0
A5:A4 0000 0000h 0000 316Ch 12652
‡
†
Unsigned 32-bit integer
‡
Unsigned 40-bit (long) integer