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
(→See Also: INY, DEY) |
(stack pointer) |
||
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]] | ||
* [[Accumulator]] | * [[Accumulator]] | ||
Revision as of 10:10, 14 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.