You are here : assembly8087FXCH

FXCH - 8087

Exchanges the content of ST with the contents of a specified stack element. If no destination is specified, then ST(1) is used.


Syntax

FXCH
FXCH destination


Example

FXCH ST(4)	;swaps ST and ST(4)
FXCH 		;swaps ST and ST(1)


Output / Return Value


Limitations


Alternatives / See Also


Reference