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

Explain about rotating machines, Q. Explain about Rotating Machines? Th...

Q. Explain about Rotating Machines? Themost widely used electromechanical device is a rotatingmachine, which utilizes themagnetic field to store energy. The main purpose of mos

Define serial in - serial out shift registers, Define Serial In - Serial Ou...

Define Serial In - Serial Out Shift Registers? An essential four-bit shift register can be constructed using four D flip-flops. The register is the first cleared forcing all fo

Air gaps, What is the main thing to look for in calculations of air gaps?

What is the main thing to look for in calculations of air gaps?

What is tri-state logic, Three Logic Levels are used and they are High, Low...

Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri

D/a converter, weighted resistor and r2r ladder d/a converter

weighted resistor and r2r ladder d/a converter

Explain in brief the functions of clock generator chip, Explain in brief th...

Explain in brief the functions of the clock generator chip, 8284. 8284 Clock generator: The 8284 is an ancillary element to the microprocessors. Without any clock generato

Explain the asynchronous up-down counters, Explain the Asynchronous Up-Down...

Explain the Asynchronous Up-Down Counters? In some applications a counter must be able to count both down and up and the circuit below is a 3-bit up-down counter. It counts do

What is the procedure of binary division, Q. What is the procedure of Binar...

Q. What is the procedure of Binary Division? The Binary division is the repeated process of subtraction, just as in decimal division. Signed Numbers Representation If w

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