Add Two Signed Integers Without Saturation ADD
3-47 Instruction SetSPRU733
Example 1 ADD .L2X A1,B1,B2
Before instruction 1 cycle after instruction
A1 0000 325Ah 12890 A1 0000 325Ah
B1 FFFF FF12h 238 B1 FFFF FF12h
B2 xxxx xxxxh B2 0000 316Ch 12652
Example 2 ADD .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 228§A3:A2 0000 00FFh FFFF FF12h
A5:A4 0000 0000h 0000 0000h 0§A5:A4 0000 0000h 0000 316Ch 12652§
§Signed 40-bit (long) integer
Example 3 ADD .L1 13,A1,A6
Before instruction 1 cycle after instruction
A1 0000 325Ah 12890 A1 0000 325Ah
A6 xxxx xxxxh A6 0000 324Dh 12877
Example 4 ADD .D1 A1,26,A6
Before instruction 1 cycle after instruction
A1 0000 325Ah 12890 A1 0000 325Ah
A6 xxxx xxxxh A6 0000 3274h 12916