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

What is the function of mode set register in 8257, What is the function of ...

What is the function of mode set register in 8257? The mode set register is used for programming the 8257 as per the needs of the system. The function of the mode set register

Illustrate the principles of operation of centralized, Q. Illustrate the pr...

Q. Illustrate the principles of operation of centralized SPC and distributed SPC and compare their performance. Ans: In centralized control, all control equipment is replac

Aggregate technical and commercial loss, Aggregate Technical and Commercial...

Aggregate Technical and Commercial Loss It is unfortunate in that addition to T&D losses, there is also a loss in revenue because of non-realisation of billed demand which lea

Carry flag - sub subtract instruction , Carry Flag CY is  reset  as e...

Carry Flag CY is  reset  as explained  above.  ( in chapter 1 we have  sen in the 2 complement  methods of subtraction that  the carry  is set  when the result is positive. He

Forward and reverse-active in bipolar junction transistor, Forward and Reve...

Forward and Reverse-active in Bipolar Junction Transistor: Forward-active (or simply, active): The base-collector junction is reverse biased and base-emitter junction is

Dual beam, explane the special features of dual beam?

explane the special features of dual beam?

Sketch the waveforms of sinusoidal voltage source, Q. Consider the op-amp c...

Q. Consider the op-amp circuit of Figure. Sketch the waveforms of v S and v o , if v S is a sinusoidal voltage source with a peak value of 2.

FET, WHAT IS FET

WHAT IS FET

Explain a common emitter configuration without a feedback, Q. Explain a com...

Q. Explain a common emitter configuration without a feedback. A simple common emitter transistor amplifier--having no negative feedback--is not an ideal amplifier. This is beca

What is effect of overheating on an electric insulator, What is the effect ...

What is the effect of overheating on the life of an electric insulator? An insulator is designed to withstand amount of heat. However, when an insulator is overheated so dielec

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