Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>fsincos sine and cosine (80387) exception flags: i d u p s</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FSINCOS           Sine and Cosine (80387)     Exception Flags: I D U P S

FSINCOS

       Logic:      T1 . ST
                   ST . sin(T1)
                   push (cos(ST))

     This instruction finds both the sine and cosine of the number in ST. ST
     is assumed to be in radians. Its sine is left in ST(1) and its cosine in
     ST.
                                     63
     ST must be in the range |ST| < 2  . If it is not, FSIN sets C2 to 1 and
     the calculation does not occur. If it is, FSIN sets C2 to 0.

  --------------------------------------------------------------------------
   Operands            Clocks         Bytes           Example
   FSINCOS             194-809          3             FSINCOS
  --------------------------------------------------------------------------

See Also: FCOS FSIN

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson