TXS

From C64-Wiki
Jump to navigationJump to search

TXS (short for "Transfer X to Stack pointer") is the mnemonic for a machine language instruction which transfers ("copies") the contents of the X index register into the stack pointer.

Addressing mode[edit | edit source]

Opcode Addressing
mode
Assembler
format
Length
in bytes
Number of
cycles
Dec Hex
154 9A Implied TXS 1 2

TXS only supports the Implied addressing mode, as shown in the table.

CPU flags[edit | edit source]

TXS does not affect any of the CPU's status flags.