EasyManua.ls Logo

Freescale Semiconductor MC68881 - Page 76

Default Icon
409 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4
FABS
Absolute Value
FABS
Operation:
Absolute Value of Source 0 FPn
Assembler
FABS.<fmt> <ea>,FPn
Syntax:
FABS.X FPm,FPn
FABS.X FPn
Attributes:
Format= (Byte, Word, Long, Single, Double, 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.
Operation
Table:
Source In Range
Destination
~ +
Resu t Absolute Value
Zero
+
Absotute Value
Infinity
L
+ - I
Absolute
Value
NOTE: If the source operand is a NAN, refer to 4.5.4 NANs for more information.
Status Register:
Condition Codes:
Quotient Byte:
Exception Byte:
Affected as described in 4.5.5.1 SETTING FLOATING-POINT
CONDITION
CODES.
Not affected
BSUN Cleared
SNAN Refer to 4.5.4
NANs
OPERR Cleared
OVFL Cleared
UNFL If the source is an extended precision denor-
realized number, refer to 6.1.5 Underflow;
cleared otherwise.
DZ Cleared
INEX2 Cleared
INEX1 If <fret> is Packed, refer to 6.1.8 Inexact
Result
on
Decimal Input; cleared otherwise.
Accrued Exception Byte: Affected as described in 6.1.10 IEEE Exception and Trap Com-
patibility.
Instruction Format:
~5 ]4 ~3 12 11 lO 9 8 7
1 1 ] 1, 10 ] 0 0
SOURCE DESTINATION
0 RIM 0 SPECIFIER REGISTER
6 5 4 3 2 1 O
EFFECTIV~ ADDRESS
0 MODE l REGISTER
0 0 I I I I 0 t 0 t C
FREESCALE
4-18
MC68881/MC68882 USER'S MANUAL

Table of Contents

Related product manuals