Motorola M68000 User Manual Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
Floating Point Instructions
5-4
M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
MOTOROLA
FABS
Floating-Point Absolute Value
FABS
(MC6888X, MC68040)
Operation:
Absolute Value of Source
FPn
Assembler
Syntax:
FABS. < fmt > < ea > ,FPn
FABS.X FPm,FPn
FABS.X FPn
*FrABS. < fmt > < ea > ,FPn
*FrABS.X FPm,FPn
*FrABS.X Pn
where r is rounding precision, S or D
*Supported by MC68040 only.
Attributes:
Format = (Byte, Word, Long, Single, Quad, Extended, Packed)
Description:
Converts the source operand to extended precision (if necessary) and stores
the absolute value of that number in the destination floating-point data register.
FABS will round the result to the precision selected in the floating-point control register.
FSABS and FDABS will round the result to single or double precision, respectively,
regardless of the rounding precision selected in the floating-point control register.
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
Absolute Value Absolute Value Absolute Value
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 356 357

Comments to this Manuals

No comments