Motorola CPU32 Bedienungsanleitung Seite 369

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 646
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 368
Floating Point Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 5-67
FLOGNP1 Log
e
(x + 1) FLOGNP1
(MC6888X, M68040FPSP)
Operation: Log
e
of (Source + 1) FPn
Assembler FLOGNP1. < fmt > < ea > ,FPn
Syntax: FLOGNP1.X FPm,FPn
FLOGNP1.X FPn
Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description: Converts the source operand to extended precision (if necessary), adds one
to that value, and calculates the natural logarithm of that intermediate result. Stores the
result in the destination floating-point data register. This function is not defined for input
values less than – 1.
Operation Table:
NOTES:
1. If the source operand is a NAN, refer to 1.6.5 Not-A-Numbers for more information.
2. If the source is – 1, sets the DZ bit in the floating-point status register
exception byte and returns a NAN. If the source is < – 1, sets the OPERR bit
in the floating-point status register exception byte and returns a NAN.
3. 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.
DESTINATION
SOURCE
1
+ In Range + Zero + Infinity
Result
In(x + 1) In(x + 1)
2
+ 0.0 – 0.0
+ inf NAN
2
3
Seitenansicht 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 645 646

Kommentare zu diesen Handbüchern

Keine Kommentare