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

Determine the flux densities, In the magnetic circuit shown in Figure (a) t...

In the magnetic circuit shown in Figure (a) the coil of 500 turns carries a current of 4 A. The air-gap lengths are g 1 = g 2 = 0.25 cm and g 3 = 0.4 cm. The cross-sectional are

Positive and negative clippers, Positive Clippers The shunt connected p...

Positive Clippers The shunt connected positive clipper, in which the diode conducts for positive half cycle and hence, the output is a straight line. During the negative half c

Dc machines, compound generator drawback

compound generator drawback

Critical rate of rise of current - thyristor , Critical Rate of  Rise of ...

Critical Rate of  Rise of Current The maximum  rate of  increase of current  during  on state  which  the SCR  can tolerate is called  the critical rate of rise  of current  f

Switching characteristics during turn on , Switching characteristics during...

Switching characteristics during turn on A positive  gate  pulse  between  gate and  cathodeis sufficient to turn  on a thyrisotr. In  this period  thyristor  changes its stat

Is the mosfetoperating in the active region, Q. A depletion MOSFET is given...

Q. A depletion MOSFET is given to have large V A , V P = 2.8V, I DSS = 4.3 mA, v DS = 4.5V,and v GS = 1.2V. (a) Is theMOSFEToperating in the active region? (b) Find iD.

Transformer, Why we provide the short circuit and open circuit test in tran...

Why we provide the short circuit and open circuit test in transformer

Determine the maximum power, Determine the maximum power: 1 For the c...

Determine the maximum power: 1 For the circuit shown below, what value of RL will result in maximum power transfer? Determine the maximum power dissipated in RL. You

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