FSIN
Usage: FSIN src Modifies flags: See below.
Computes the sine of the 'src' operand in register ST(0) and stores the result in ST(0). The 'src' operand must be given in radians and must be within the range -2**63 to +2**63 .
Sine and Cosine
FSIN ; D9 FE [386,FPU]
FSINCOS ; D9 FB [386,FPU]
FSIN calculates the sine of ST0 (in radians) and stores the result in ST0. FSINCOS does the same, but then pushes the cosine of the same value on the register stack, so that the sine ends up in ST1 and the cosine in ST0. FSINCOS is faster than executing FSIN and FCOS in succession.
The absolute value of ST0 must be less than 2**63.
FPU Flags Affected C1 Set to 0 if stack underflow occurred. Set if result was rounded up; cleared otherwise. C2 Set to 1 if outside range (-2 63 <source operand <+2 63 ); otherwise, set to 0. C0, C3 Undefined.
EXAMPLE:
fsin Label