beautypg.com

Float.x integer to floating-point float.x, Conversion – Motorola DSP96002 User Manual

Page 318

background image

A - 130

DSP96002 USER’S MANUAL

MOTOROLA

FLOAT.X

Integer to Floating-Point

FLOAT.X

Conversion

Operation:

D.L

CONVERT TO FP

D

(parallel data bus move)

Assembler Syntax:

FLOAT.X D (move syntax - see the MOVE in-

struction description.)

Description:

Convert the 2’s complement 32-bit integer located in the low portion of the operand D into a floating-point

operand and store the result in the operand D. The rounding precision is SEP.

Input Operand(s) Precision: 32-bit 2’s complement integer.

Output Operand Precision: SEP 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

- Always cleared.

LR

- Not affected.

R

- Not affected.

A

- Not affected.

ER Status Bits:

INX

-Always cleared.

DZ

-Always cleared.

UNF

-Always cleared.

OVF

-Always cleared.

OPERR-Always cleared.

SNAN -Always cleared.

NAN

-Always cleared.

UNCC -Always cleared.

IER Flags: Flags changed according to standard definition.