CHAPTER 2 CPU
2.3.4
Program Counter (PC)
This section explains the program counter (PC) functions.
I Program counter (PC)
PC is a 16-bit counter indicating the lower 16 bits in the memory address of an instruction code
to be executed by CPU. An upper 8-bit address is indicated with the program count bank
register (PCB). PC contents are updated by condition branch instructions, sub-routine call
instructions, interrupts, or resets. It also may be used as a base pointer for operand access.
Figure 2.3-10 "Program counter (PC) functions" explains the program counter (PC) functions.
PCB
FE
H
34
Figure 2.3-10 Program counter (PC) functions
PC
ABCD
H
Next instruction executed
FEABCD
H