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

Mr. Davis, The new kitchen is to be 20feet long and it''s width is 75% of i...

The new kitchen is to be 20feet long and it''s width is 75% of it''s length. The door to the kitchen is on the short wall and is 10% of the width of that wall. you want to put in m

Difference between div and idiv instructions, Mention how do the DIV & I...

Mention how do the DIV & IDIV instructions differ in their functionality DIV: Unsigned numbers division and IDIV: Signed number division.

Explain synchronous generators, Explain Synchronous Generators? They ca...

Explain Synchronous Generators? They can be utilized to produce or absorb reactive power. An over-excited machine produces reactive power when an under-excited machine absorbs

Chemistry, write a short note on Scale

write a short note on Scale

What is synchronous data transfer, What is synchronous data transfer? I...

What is synchronous data transfer? It is a data method which is used when the I/O device and the microprocessor match in speed. To transfer a data to or from the device, the us

Explain the operation as a buffer, Q. An interesting application of the SRF...

Q. An interesting application of the SRFF is as a buffer in overcoming contact bounce in mechanical switches. These switches, of the toggle type, may be used to change the logic st

Rahul, in 8085 name the 16 bit registers

in 8085 name the 16 bit registers

Illustrate computer-controlled routing, Q. Illustrate Computer-controlled r...

Q. Illustrate Computer-controlled routing? Computers are employed in network with common channel signaling (CCS) features. In CCS, there is a separate computer-controlled signa

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