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
Jump to: navigation, search
(→‎References: Pickens ref)
(wrapping behavior)
Line 1: Line 1:
The '''Program Counter''' (PC) keeps track of which instruction is currently executing.
The '''Program Counter''' (PC) keeps track of which instruction is currently executing.  If incremented past FFFFh, it wraps around to zero.


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 16:03, 22 July 2024

The Program Counter (PC) keeps track of which instruction is currently executing. If incremented past FFFFh, it wraps around to zero.

On the S-SMP it is 16 bits wide. The low byte is called PCL and the high byte is called PCH.

See Also

References