Program counter , Electrical Engineering

Program Counter (PC)

It is a   16 bit  register.  It is a memory  pointer. It stores  the memory address  of the next  byte of the program to be executed. Memory  address is of 16  bits. Suppose a program  is stored in the memory  starting  from address 2000H ( 0010  000  0000  0000)  see fig  to execute this  program  starting  address is copied  in program counter (PC)  register. When the  program starts executing microprocessor provides  the memory  address from  program  counter.  The  first  statement  is accessed   at that location and is brought into the  microprocessor and  executed. While first statement . after executing  first  statement  microprocessor  get the  address of the  second  statement  from the program  counter.  Similarly  second statement  is also  executed  and program  counter is  incremented  by 1 and  points to the next  statement. The processor is repeated until   the program  is over.

Since  this register  points to the  memory  address of the program and keeps  incrementing by  one like a counter hence the name  given to it  is program counter.

Posted Date: 4/4/2013 2:58:03 AM | Location : United States







Related Discussions:- Program counter , Assignment Help, Ask Question on Program counter , Get Answer, Expert's Help, Program counter Discussions

Write discussion on Program counter
Your posts are moderated
Related Questions
Common-collector configuration:  The common-collector that is abbreviated CC transistor configuration is displayed in figure.  In this type of configuration, the collector is

Q. Explain the principle of transistor phase shift oscillator? The phase shift oscillator consists of an inverting amplifier stage coupled to a three stage RC filter network. T

Explain protected mode interrupt. In this mode, interrupts have exactly similar assignments as in real mode, but the interrupt vector table is not same. In place of interrupt


how can yuo calculate voltage,curent basing on the meter bridge?


Q. Two coupled synchronous machines are used as a motor-generator set to link a 25-Hz system to a 60-Hz system. Find the three highest speeds at which this linkage would be possibl

A quantizer has 130 quantum levels that exactly span the extremes of a symmetrically ?uctuating message with step size δv = 0.04 V. Determine the following: (a) |f(t)|max.

Classify the following signals as energy signals or power signals. Find the normalized energy or normalized power of each. a. ? ? , 0, 0 0, at Ae t a x t elsewhere

Bipolar junction transistor: Transistors are so named as they conduct via using both majority and minority carriers. The bipolar junction transistor that is abbreviated as BJT