Floatu.s unsigned integer to floatu.s, Floating-point conversion – Motorola DSP96002 User Manual

Page 320

Advertising
background image

A - 132

DSP96002 USER’S MANUAL

MOTOROLA

FLOATU.S

Unsigned Integer to

FLOATU.S

Floating-Point Conversion

Operation:

D.L

CONVERT TO FP

ROUND(SP)

D

(parallel data bus move)

Assembler Syntax:

FLOATU.S D

(move syntax - see the MOVE instruction de-

scription.)

Description:

Convert the unsigned 32-bit integer located in the low portion of the operand D into a floating-point oper-

and, round to single precision and store the result in the operand D.

Input Operand(s) Precision: 32-bit unsigned integer.

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

- Always cleared.

LR

- Not affected.

R

- Not affected.

A

- Not affected.

ER Status Bits:

INX

-Set if result is inexact. Cleared otherwise.

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.

Advertising