4
FCOSH
Hyperbolic Cosine
FCOSH
Operation:
Assembler
Syntax:
Hyperbolic Cosine of Source t FPn
FCOSH.<fmt> <ea>,FPn
FCOSH.X FPm,FPn
FCOSH.X FPn
Attributes:
Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description:
Converts the source operand to extended precision (if necessary) and cal-
culates the hyperbolic cosine of that number. Stores the result in the destination
floating-point data register.
Operation Table:
Source in
Range Zero
l Infinity
Destination
~ + - + - I +
Result Hyperbolic Cosine + 1.0 t -- inf
NOTE: If the source operand is a NAN, refer to 4.5,4 BANs for more information.
Status Register:
Condition Codes:
Quotient Byte:
Exception Byte:
Accrued Exception Byte:
Instruction Format:
15 14 13
1 1 !
0 R/M 0
Affected as described in 4.5.5.1 SE'r'rlNG FLOATING-POINT
CONDITION
CODES
Not affected
BSUN
SNAN
OPERR
OVFL
UNFL
DZ
INEX2
INEX1
Cleared
Refer to 4.5.4
NANs.
Cleared
Refer to 6.1.4 Overflow.
Cleared
Cleared
Refer to 6.1.7 Inexact Result.
If <fret> is Packed, refer to 6.1.8 Inexact Result
on Decimal
Input; cleared otherwise.
Affected as described in 6.1.10 IEEE
Exception and
Trap Com-
patibility
12 11 10 9 8 7 6 5 4 3 2 1 0
COPROCESSOR I EFFECTIVE ADDRESS
1 ID I 0 0 0 MODE I REGISTER
SOURCE DESTINATION i 1
SPECIFIER REGISTER 0 0 , 1 I 0 I 0 i 1
FREESCALE
4-36
MC68881/MC68882 USER'S MANUAL