Motorola M68000 User Manual Page 129

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 128
Floating Point Instructions
5-118 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
FSIN Sine FSIN
(MC6888X, M68040FPSP)
Operation: Sine of Source FPn
Assembler FSIN. < fmt > < ea > ,FPn
Syntax: FSIN.X FPm,FPn
FSIN.X FPn
Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description: Converts the source operand to extended precision (if necessary) and
calculates the sine of that number. Stores the result in the destination floating-point
data register. This function is not defined for source operands of ± infinity. If the source
operand is not in the range of [ – 2π... + 2π], the argument is reduced to within that
range before the sine is calculated. However, large arguments may lose accuracy
during reduction, and very large arguments (greater than approximately 10
20
) lose all
accuracy. The result is in the range of [ – 1... + 1].
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.
DESTINATION
SOURCE
1
+ In Range + Zero + Infinity
Result Sine
+ 0.0 – 0.0
NAN
2
Page view 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 356 357

Comments to this Manuals

No comments