English
Language : 

GMS30C2116 Datasheet, PDF (250/322 Pages) Hynix Semiconductor – USERS MANUAL
A-76
Floating-point Convert (double => single)
Appendix A. Instruction Set Details
FCVT
Format:
LL format
15
OP-code
1100 1100
87
43
0
Ld-code
Ls-code
Ls-code encodes L0..L15 for Ls
Ld-code encodes L0..L15 for Ld
Notation:
FCVT Ld, Ls
Description:
The double-precision source operand (Ls//Lsf) is converted to the single-precision
destination operand (Ld) and all condition flags remain unchanged to allow future
concurrent execution.
The floating-point instructions comply with the ANSI/IEEE standard 754-1985. In the
present version, they are executed as Software instructions.
This instruction uses single-precision operands and it must not placed as delay instructions.
A floating-point Not a Number (NaN) is encoded by bits 30..19 = all ones in the operand
word containing the exponent; all other bits of the operand are ignored for differentiating a
NaN form a non-NaN.
This instruction can raise any of the exceptions Invalid Operation, Division by Zero,
Overflow, Underflow or Inexact.
Operation:
Ld := (Ls//Lsf)
Exceptions:
Invalid Operation, Division by Zero, Overflow, Underflow or Inexact.