Absolute Value - Motorola DSP96002 User Manual

32-bit digital signal processor
Table of Contents

Advertisement

ABS
Operation:
|-D.L|
D.L (parallel data bus move)
Description:
Take the absolute value of the destination operand low portion and store the result in the low portion of D.
Input Operand(s) Precision: 32-bit integer.
Output Operand Precision: 32-bit integer.
CCR Condition Codes:
C
- Not affected.
V
- Set if result overflows. Cleared otherwise.
Z
- Set if result is zero. Cleared otherwise.
N
- Set if result is negative. Cleared otherwise.
I
- Not affected.
LR
- Not affected.
R
- Not affected.
A
- Not affected.
ER Status Bits:
Not affected.
IER Flags:
Not affected.
Instruction Format: ABS
31
DATA BUS MOVE FIELD
OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA
Instruction Fields:
D
Dn.L
Timing: 2 + mv oscillator clock cycles
Memory: 1 + mv program words
MOTOROLA

Absolute Value

Assembler Syntax:
ABS
D
(move syntax - see the MOVE instruction description. )
(u u)
d d d
n n n
where nnn = 0-7
DSP96002 USER'S MANUAL
D
(move syntax - see the MOVE instruction de-
scription. )
14 13
10
0100
ABS
0
uu11
1ddd
A - 19

Advertisement

Table of Contents
loading

Table of Contents