Motorola CPU32 Bedienungsanleitung Seite 363

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 646
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 362
Floating Point Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 5-61
FLOG2 Log
2
FLOG2
(MC6888X, M68040FPSP)
Operation: Log
2
of Source FPn
Assembler FLOG2. < fmt > < ea > ,FPn
Syntax: FLOG2.X FPm,FPn
FLOG2.X FPn
Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description: Converts the source operand to extended precision (if necessary) and
calculates the logarithm of that number using base two arithmetic. Stores the result in
the destination floating- point data register. This function is not defined for input values
less than zero.
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.
3. Sets the DZ 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 < 0; cleared otherwise
OVFL Cleared
UNFL Cleared
DZ Set if the source is ± 0; cleared otherwise
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
1
+ In Range + Zero + Infinity
Result
Log
2
NAN
2
– inf
3
+ inf NAN
2
Seitenansicht 362
1 2 ... 358 359 360 361 362 363 364 365 366 367 368 ... 645 646

Kommentare zu diesen Handbüchern

Keine Kommentare