TSX (transfer stack pointer into X) Tags: NZ #

Description:

Transmits the contents of the Stack S to register X. S-content does not change.

Example:

    TSX    ; read the position of the top of the stack