Fabs.s absolute value fabs.s – Motorola DSP96002 User Manual

Page 274

Advertising
background image

A - 86

DSP96002 USER’S MANUAL

MOTOROLA

FABS.S

Absolute Value

FABS.S

Operation:

D

ROUND(SP)

D (parallel data bus move)

Assembler Syntax:

FABS.S D (move syntax - see the MOVE in-

struction description.)

Description:

Take the absolute value of the destination operand, round to single precision and store the result in the

destination operand D.

Input Operand(s) Precision: SEP Floating-Point.

Output Operand Precision: SP Floating-Point.

CCR Condition Codes:

C

- Not affected.

V

- Not affected.

Z

- Set if result is zero. Cleared otherwise.

N

- Always cleared.

I

- Set if result is infinity. Cleared otherwise.

LR

- Not affected.

R

- Not affected.

A

- Not affected.

ER Status Bits:

INX

-Set if result is inexact. Cleared otherwise.

DZ

-Always cleared.

UNF

-Set if result underflows. Cleared otherwise.

OVF

-Set if result overflows. Cleared otherwise.

OPERR-Always cleared.

SNAN -Set if operand is a signaling NaN. Cleared otherwise.

NAN

-Set if result is a NaN. Cleared otherwise.

UNCC -Always cleared.

IER Flags: Flags changed according to standard definition.

Advertising