Program counter , Electrical Engineering

Assignment Help:

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.


Related Discussions:- Program counter

Calculate the new rotor current frequency, Induction motors are often brake...

Induction motors are often braked rapidly by a technique known as plugging, which is the reversal of the phase sequence of the voltage supplying the motor. Assume that a motor with

Explain the working of a photo - transistor with a sketch, Q. Explain the w...

Q. Explain the working of a photo - transistor with a sketch A second optoelectronic device that conducts current when exposed to light is the PHOTOTRANSISTOR. A phototransisto

Role of gis in distribution reforms, Role of GIS in Distribution Reforms: ...

Role of GIS in Distribution Reforms: You will agree which distribution is the weakest link in the chain of power supply and has been identified as the key focus area in power

Compute the efficiency of the transformer, Q. These data were obtained from...

Q. These data were obtained from tests carried out on a 10-kVA, 2300:230-V, 60-Hz distribution transformer: • Open-circuit test, with low-voltage winding excited: applied voltag

Characteristics of common source amplifier, Characteristics of Common Sou...

Characteristics of Common Source Amplifier At low frequencies and by using a simplified hybrid-pi model, the following small-signal characteristics can be derived.

Explain about for loop construct, Q. Explain about For Loop Construct? ...

Q. Explain about For Loop Construct? The loop build causes the for loop to be splitted into portions and portions shared amongst threads in team. The syntax of loop construct

Why two rectifier is used in smps, Its not essential that a power plant use...

Its not essential that a power plant uses only two rectifiers, it depends on the load there at the site and the capacity of the rectifier or SMPS. Assume the load at the site is 12

Explain the working of leds, Q. Explain the working of LEDs OPTOELECTRO...

Q. Explain the working of LEDs OPTOELECTRONIC devices either produce light or use light in their operation. The first of these, the light-emitting diode (LED), was developed to

States ohm''s law, States Ohm's law Ohm's law describes that the curren...

States Ohm's law Ohm's law describes that the current I flowing in a circuit is directly proportional to the applied voltage V and inversely proportional to the resistance R, g

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd