Motorola M68000 User Manual Page 63

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 62
Floating Point Instructions
5-52 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
FINT Integer Part FINT
(MC6888X, M68040FPSP)
Operation: Integer Part of Source FPn
Assembler FINT. < fmt > < ea > ,FPn
Syntax: FINT.X FPm,FPn
FINT.X FPn
Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description: Converts the source operand to extended precision (if necessary), extracts
the integer part, and converts it to an extended-precision floating-point number. Stores
the result in the destination floating-point data register. The integer part is extracted by
rounding the extended-precision number to an integer using the current rounding mode
selected in the floating-point control register mode control byte. Thus, the integer part
returned is the number that is to the left of the radix point when the exponent is zero,
after rounding. For example, the integer part of 137.57 is 137.0 for the round-to-zero
and round-to- negative infinity modes and 138.0 for the round-to-nearest and round-to-
positive infinity modes. Note that the result of this operation is a floating-point number.
Operation Table:
NOTE: If the source operand is a NAN, refer to 1.6.5 Not-A-Numbers for more information.
DESTINATION
SOURCE
+ In Range + Zero + Infinity
Result Integer
+ 0.0 – 0.0
+ inf – inf
Page view 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 356 357

Comments to this Manuals

No comments