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

X Index Register: Difference between revisions

From SnesLab
Jump to: navigation, search
(TXS/TSX)
Line 1: Line 1:
The '''X Index Register''' exists on 65x processors and often holds the current index when iterating over things.
The '''X Index Register''' exists on 65x processors and often holds the current index when iterating over things.
Unlike the [[Y index register]], the value of the [[stack pointer]] can be transferred to/from X.  See [[TXS]] and [[TSX]].


=== See Also ===
=== See Also ===
Line 5: Line 7:
* [[STX]]
* [[STX]]
* [[CPX]]
* [[CPX]]
* [[TSX]]
* [[TXS]]
* [[TAX]]
* [[TAX]]
* [[TXA]]
* [[TXA]]
* [[PHX]]
* [[PHX]]
* [[PLX]]
* [[PLX]]
* [[Y Index Register]]
* [[Accumulator]]
* [[Accumulator]]



Revision as of 09:27, 14 December 2023

The X Index Register exists on 65x processors and often holds the current index when iterating over things.

Unlike the Y index register, the value of the stack pointer can be transferred to/from X. See TXS and TSX.

See Also