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

Y Index Register: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎See Also: INY, DEY)
(→‎Reference: 8.1.3)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


On the [[S-SMP]] it is always 8 bits wide.  On the [[65c816]], it may be 8 or 16 bits wide.
On the [[S-SMP]] it is always 8 bits wide.  On the [[65c816]], it may be 8 or 16 bits wide.
Unlike the [[X index register]], there are no instructions to transfer value of the [[stack pointer]] to/from Y.


=== See Also ===
=== See Also ===
Line 13: Line 15:
* [[PHY]]
* [[PHY]]
* [[PLY]]
* [[PLY]]
* [[X Index Register]]
* [[Accumulator]]
* [[Accumulator]]
=== Reference ===
* 8.1.3 of [https://archive.org/details/SNESDevManual/book1/page/n182 page 3-8-4 of Book I] of the official Super Nintendo development manual


[[Category:SNES Hardware]]
[[Category:SNES Hardware]]

Latest revision as of 06:30, 20 December 2023

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

On the S-SMP it is always 8 bits wide. On the 65c816, it may be 8 or 16 bits wide.

Unlike the X index register, there are no instructions to transfer value of the stack pointer to/from Y.

See Also

Reference