We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Program Counter: Difference between revisions
From SnesLab
(→Reference: added subparagraph number) |
(abbreviated PC) |
||
Line 1: | Line 1: | ||
The '''Program Counter''' keeps track of which instruction is currently executing. | The '''Program Counter''' (PC) keeps track of which instruction is currently executing. | ||
On the [[S-SMP]] it is 16 bits wide. The low byte is called PCL and the high byte is called PCH. | On the [[S-SMP]] it is 16 bits wide. The low byte is called PCL and the high byte is called PCH. |
Revision as of 11:47, 17 July 2024
The Program Counter (PC) keeps track of which instruction is currently executing.
On the S-SMP it is 16 bits wide. The low byte is called PCL and the high byte is called PCH.
See Also
Reference
- Eyes & Lichty page 33, https://archive.org/details/0893037893ProgrammingThe65816/page/n59
- subparagraph 8.1.4 on page 3-8-4 of Book I of the official Super Nintendo development manual