Float.s integer to floating-point float.s, Conversion – Motorola DSP96002 User Manual
Page 316
A - 128
DSP96002 USER’S MANUAL
MOTOROLA
FLOAT.S
Integer to Floating-Point
FLOAT.S
Conversion
Operation:
D.L
→
CONVERT TO FP
→
ROUND(SP)
→
D
(parallel data bus move)
Assembler Syntax:
FLOAT.S 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, round to single precision and store the result in the operand D.
Input Operand(s) Precision: 32-bit 2’s complement 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
- Set if result is negative. Cleared otherwise.
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.