Texas Instruments TMS320C6000 Series Reference Manual page 79

Table of Contents

Advertisement

ADD(U)
Signed or Unsigned Integer Addition Without Saturation
Example 1
Example 2
Before instruction
A1 0000 325Ah
A2 FFFF FF12h
A5:A4 XXXX XXXX
Example 3
Before instruction
A1 0000 325Ah 12890
A3:A2 0000 00FFh FFFF FF12h 1099511627538
A5:A4 0000 0000h 0000 0000h 0
† Unsigned 32-bit integer
‡ Unsigned 40-bit (long) integer
Example 4
Before instruction
A1 0000 325Ah 12890
A3:A2 0000 00FFh FFFF FF12h –228
A5:A4 0000 0000h 0000 0000h 0
§ Signed 40-bit (long) integer
Example 5
3-32
ADD .L2X
A1,B1,B2
Before instruction
A1 0000 325Ah
B1 FFFF FF12h
B2 XXXX XXXXh
ADDU .L1
A1,A2,A5:A4
12890
4294967058
A5:A4 0000 0001h
ADDU .L1
A1,A3:A2,A5:A4
ADD .L1
A1,A3:A2,A5:A4
§
§
ADD .L1
–13,A1,A6
Before instruction
A1 0000 325Ah
A6 XXXX XXXXh
12890
A1 0000 325Ah
–238
B1 FFFF FF12h
B2 0000 316Ch
1 cycle after instruction
A1 0000 325Ah
A2 FFFF FF12h
1 cycle after instruction
A1 0000 325Ah
A3:A2 0000 00FFh
A5:A4 0000 0000h 0000 316Ch 12652
1 cycle after instruction
A1 0000 325Ah
A3:A2 0000 00FFh
A5:A4 0000 0000h 0000 316Ch 12652
12890
A1 0000 325Ah
A6 0000 324Dh
1 cycle after instruction
12652
0000 316Ch
4294979948
FFFF FF12h
FFFF FF12h
1 cycle after instruction
12877
§

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 Series and is the answer not in the manual?

This manual is also suitable for:

Tms320c67 seriesTms320c62 series

Table of Contents