Arithmetic Logic Unit (ALU)
2-30
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
For example:
R3 = R1 + R2, R4 = R1 – R2 (NS) ;
adds the 32-bit contents of
R2
to the 32-bit contents of
R1
and deposits the
result in
R3
with no saturation.
The instruction also subtracts the 32-bit contents of
R2
from that of
R1
and deposits the result in
R4
with no saturation.
A specialized form of this instruction uses the ALU 40-bit result registers
as input operands, creating the sum and differences of the
A0
and
A1
registers.
For example:
R3 = A0 + A1, R4 = A0 – A1 (S) ;
transfers to the result registers two 32-bit, saturated, sum and difference
values of the ALU registers.
ALU Instruction Summary
Table 2-9
lists the ALU instructions. For more information about assem-
bly language syntax and the effect of ALU instructions on the status flags,
see
Chapter 15, “Arithmetic Operations.”
In
Table 2-9
, note the meaning of these symbols:
• Dreg denotes any Data Register File register.
• Dreg_lo_hi denotes any 16-bit register half in any Data Register
File register.
• Dreg_lo denotes the lower 16 bits of any Data Register File
register.
• imm7 denotes a signed, 7-bit wide, immediate value.
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...