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

Electric Optic Device, Transmission Through a LiNb0 3 Plate Examine the tr...

Transmission Through a LiNb0 3 Plate Examine the transmission of an unpolarized He-Ne laser beam (?o= 633 nm) normally incident on a LiNb0 3 plate (ne = 2.29, no = 2.20) of thickn

What are the drawbacks of microprocessor, There is a limitation on the size...

There is a limitation on the size of data. Most Microprocessor does not maintain floating-point operations.

Student, Can I get some ideas for power system stability simulation using M...

Can I get some ideas for power system stability simulation using Matlab?

Circuit, Aplication of resonance in different divices

Aplication of resonance in different divices

Automatic irrigation system on running solar power b, how to upload the pro...

how to upload the program on proteus soft ware by using personal computer?

Explain generating mode of rotating machines, Q. Explain Generating mode of...

Q. Explain Generating mode of rotating machines? The generating mode has mechanical power input and electric power output. The torque T applied externally to the shaft drives t

Transistor hybrid model, Transistor Hybrid model:- Make Use of h - par...

Transistor Hybrid model:- Make Use of h - parameters to explain a transistor have the following benefits. a)      h - Parameters are real numbers that are up to radio frequ

Mr GZ, HOW TO PERFOM AUTO DIALLING USING GSM MODULE

HOW TO PERFOM AUTO DIALLING USING GSM MODULE

Name the materials used in case of bimetals, Name the materials used in cas...

Name the materials used in case of Bimetals and give reasons. Bimetals : Alloy of nickel and iron along with low value of coefficient of thermal expansion are utilized as

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