Fixed-Point Arithmetic Instructions - Motorola DSP96002 User Manual

32-bit digital signal processor
Table of Contents

Advertisement

6.2.2 Fixed-Point Arithmetic Instructions

The fixed-point arithmetic instructions perform all operations within the Data ALU. Arithmetic instructions
are register-based (register direct addressing modes used for operands) so that the Data ALU operation
indicated by the instruction does not use the X Data Bus, the Y Data Bus, or the Global Data Bus. This
allows for parallel data movement over these buses during most Data ALU operations. This allows new
data to be pre-fetched for use in following instructions and results calculated by previous instructions to be
stored. Fixed-point arithmetic instructions execute in one instruction cycle. See Figure 6-2 for a list of the
thirty fixed-point arithmetic instructions.
ABS
ADD
ADDC
ASL
ASR
CLR
CMP
CMPG
DEC
EXT
EXTB
GETEXP
INC
INT
INTRZ
INTU
INTURZ
JOIN
JOINB
MPYS
MPYU
NEG
NEGC
SETW
SPLIT
SPLITB
SUB
SUBC
TFR
TST
Figure 6-2. Fixed-Point Arithmetic Instructions
MOTOROLA
Absolute Value
Add
Add with Carry
Arithmetic Shift Left
Arithmetic Shift Right
Clear an Operand
Compare
Graphics Compare with Trivial Accept/Reject Flags
Decrement by one
Sign Extend 16-Bit To 32-Bit
Sign Extend 8-Bit To 32-Bit
Get Exponent
Increment by One
Floating-Point to Integer Conversion
Floating-Point to Integer Conversion Round to Zero
Floating-Point to Unsigned Integer Conversion
Floating-Point to Un. Integer Conversion Round to Zero
Join Two 16-Bit Integers
Join Two 8-Bit Integers
Signed Multiply
Unsigned Multiply
Negate
Negate with Carry
Set an Operand
Extract a 16-Bit Integer
Extract an 8-Bit Integer
Subtract
Subtract with Carry
Transfer Data ALU Register
Test an Operand
DSP96002 USER'S MANUAL
6 - 3

Advertisement

Table of Contents
loading

Table of Contents