Floating Point Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 5-31
FCOSH Hyperbolic Cosine FCOSH
(MC6888X, M68040FPSP)
Operation: Hyperbolic Cosine of Source → FPn
Assembler FCOSH. < fmt > < ea > ,FPn
Syntax: 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
calculates the hyperbolic cosine of that number. Stores the result in the destination
floating-point data register.
Operation Table:
NOTE: If the source operand is a NAN, refer to 1.6.5 Not-A-Numbers for more information.
Floating-Point Status Register:
Condition Codes: Affected as described in 3.6.2 Conditional Testing.
Quotient Byte: Not affected.
Exception Byte: BSUN Cleared
SNAN Refer to 1.6.5 Not-A-Numbers.
OPERR Cleared
OVFL Refer to overflow in the appropriate user’s
manual.
UNFL Cleared
DZ Cleared
INEX2 Refer to inexact result in the appropriate
user’s manual.
INEX1 If < fmt > is packed, refer to inexact result on
decimal input in the appropriate user’s
manual; cleared otherwise.
Accrued Exception Byte: Affected as described in IEEE exception and trap compati-
bility in the appropriate user’s manual.
DESTINATION
SOURCE
+ In Range – + Zero – + Infinity –
Result Hyperbolic Cosine + 1.0 + inf
Comments to this Manuals