This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > Wiki encyclopedia > PC

PC

A personal computer refers to a multi-purpose computer whose size, price, and performance are suitable for personal use. Desktops, laptops to small notebooks and tablets, and ultrabooks are all personal computers.

PC (Program Counter, PC) is used to store the address of the current instruction to be executed. There is a direct path between it and the main memory MAR, and it has the function of adding 1 to form the address of the next instruction.

Catalogues

Introduction

The instruction counter is used to store the address of the unit where the next instruction is located.

In order to ensure that the program (under the operating system is understood as a process) can continue to execute, the CPU must have some means to determine the address of the next instruction. The program counter plays this role, so it is usually called the instruction counter. Before the program starts executing, its starting address, that is, the address of the memory unit where an instruction of the program is located, must be sent to the PC, so the content of the program counter (PC) is the address of the first instruction fetched from memory. When the instruction is executed, the CPU will automatically modify the content of the PC, that is, each time the instruction is executed, the PC increases by an amount equal to the number of bytes contained in the instruction, so that it keeps the address of the next instruction to be executed. Since most instructions are executed in order, the modification process usually simply adds 1 to the PC. The dimension of the PC is generally the same as the dimension of the memory address register MAR.

When the program is transferred, the final result of the execution of the transfer instruction is to change the value of the PC, and this PC value is the transferred address to realize the transfer. In some machines, the PC is also called the instruction pointer IP (Instruction Pointer).

Other Wikis

ASSOCIATED PRODUCTS

  • XC2V1500-6BGG575C

    XC2V1500-6BGG575C

    FPGA Virtex-II Family 1.5M Gates 17280 Cells 820MHz 0.15um Technology 1.5V 575-Pin BGA

  • XC3064-100PP132C

    XC3064-100PP132C

    FPGA XC3000 Family 4.5K Gates 224 Cells 100MHz 5V 132-Pin PPGA

  • XC2C64A-7QFG48C

    XC2C64A-7QFG48C

    CPLD CoolRunner -II Family 1.5K Gates 64 Macro Cells 159MHz 0.18um Technology 1.8V 48-Pin QFN EP

  • XC2C64A-7VQG100I

    XC2C64A-7VQG100I

    CPLD CoolRunner -II Family 1.5K Gates 64 Macro Cells 159MHz 0.18um Technology 1.8V 100-Pin VTQFP

  • XCV200-6BG256C

    XCV200-6BG256C

    FPGA Virtex Family 236.666K Gates 5292 Cells 333MHz 0.22um Technology 2.5V 256-Pin BGA

FPGA Tutorial Lattice FPGA
Need Help?

Support

If you have any questions about the product and related issues, Please contact us.