Motorola M68000 Manuel d'utilisateur Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 357
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
Floating Point Instructions
5-8
M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
MOTOROLA
FACOS
Arc Cosine
FACOS
(MC6888X, M68040FPSP)
Operation:
Arc Cosine of Source
FPn
Assembler
FACOS. < fmt > < ea > ,FPn
Syntax:
FACOS.X FPm,FPn
FACOS.X FPn
Attributes:
Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description:
Converts the source operand to extended precision (if necessary) and
calculates the arc cosine of that number. Stores the result in the destination floating-
point data register. This function is not defined for source operands outside of the range
[ – 1... + 1]; if the source is not in the correct range, a NAN is returned as the result and
the OPERR bit is set in the floating- point status register. If the source is in the correct
range, the result is in the range of [0...
π
].
Operation Table:
NOTES:
1. If the source operand is a NAN, refer to
1.6.5 Not-A-Numbers
for more information.
2. Sets the OPERR bit in the floating-point status register exception byte.
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 Set if the source is infinity, > + 1 or < – 1;
cleared otherwise.
OVFL Cleared
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
Arc Cosine +
π
/2 NAN
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 356 357

Commentaires sur ces manuels

Pas de commentaire