Architectures | |
PC | Entity |
behave | Architecture |
Program Counter (PC).
The PC is reset to 0000 before the processor runs. Then the PC send the address 0000 to the RAM/ROM,
to fetch and exectute the corresponding instruction. After the first instruction is fetched and exectuted
the PC sends the following address 0001 to the RAM/ROM, and so on.
The PC is part of the conrtol unit, it counts from 0000 to 1111.
It is called pointer; it points to a memory location where instruction is stored.
It work as 4-bit counter.