IA-32 Assembly Language Reference Manual

Floating-Point Transcendental Instructions

Floating-Point Sine (fsin)

fsin
Example

Replace the contents of the top of the stack with its sine.

fsin

Floating-Point Cosine (fcos)

fcos
Example

Replace the contents of the top of the stack with its cos.

fcos

Floating-Point Sine and Cosine (fsincos)

fsincos
Example

Replace the contents of the top of the stack with its sine and then push the cosine onto the FPU stack.

fsincos