TXS

From C64-Wiki
Jump to: navigation, 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]

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]

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