We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
TSX: Difference between revisions
From SnesLab
(added 6502 category) |
(added E&L page) |
||
Line 1: | Line 1: | ||
'''TSX''' (Transfer Stack Pointer to X) is a 65x instruction that transfers the value of the [[stack pointer]] to the [[X index register]]. | '''TSX''' (Transfer Stack Pointer to X) is a 65x instruction that transfers the value of the [[stack pointer]] to the [[X index register]]. | ||
{| class="wikitable" style="float:right;clear:right;width:30%" | {| class="wikitable" style="float:right;clear:right;width:30%" | ||
Line 40: | Line 39: | ||
=== See Also === | === See Also === | ||
* [[TXS]] | * [[TXS]] | ||
=== External Links === | |||
* [[Eyes & Lichty]] page on TSX: https://archive.org/details/0893037893ProgrammingThe65816/page/n542 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Inherited from 6502]] | [[Category:Inherited from 6502]] |
Revision as of 23:03, 15 May 2023
TSX (Transfer Stack Pointer to X) is a 65x instruction that transfers the value of the stack pointer to the X index register.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
stack | BA | 1 byte | 2 cycles |
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
N | V | M | X | D | I | Z | C | |
. | . | . | . | . | . |