beautypg.com

Fcopys.s copy sign fcopys.s – Motorola DSP96002 User Manual

Page 300

background image

A - 112

DSP96002 USER’S MANUAL

MOTOROLA

FCOPYS.S

Copy Sign

FCOPYS.S

Description:

Copy the sign of the floating-point operand S to the floating-point operand D, round the resulting operand

D to single precision and store the result in the specified destination 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

- Set if result is negative. Cleared otherwise.

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.

Assembler Syntax:

FCOPYS.S S,D (move syntax - see the MOVE in-

struction description.)

Operation:

Sign of S

D

ROUND(SP)

D

(parallel data bus move)