We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

TXY: Difference between revisions

From SnesLab
Jump to: navigation, search
(how many bytes)
Line 35: Line 35:
|}
|}


'''TXY''' is a [[65c816]] instruction that transfers the value of the [[X index register]] to the [[Y index register]].
'''TXY''' is a [[65c816]] instruction that transfers the value of the [[X index register]] to the [[Y index register]].  TXY always transfers one or two bytes depending on how wide the index registers are.  They are both always the same size.


==== Syntax ====
==== Syntax ====

Revision as of 23:12, 21 July 2024

Basic Info
Addressing Mode Opcode Length Speed
Implied (type 1) 9B 1 byte 2 cycles
Flags Affected
N V M X D I Z C
. . . . . .

TXY is a 65c816 instruction that transfers the value of the X index register to the Y index register. TXY always transfers one or two bytes depending on how wide the index registers are. They are both always the same size.

Syntax

TXY

See Also

External Links