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

Buck boost converter - power supplies , Buck Boost Converter The outpu...

Buck Boost Converter The output  of buck boost  regulator may be  less than  or greater than the  input  voltage. Since  the polarity of output  voltage  is opposite  to that

LED should also show the rounded percentage , The LEDs should also show th...

The LEDs should also show the rounded percentage of the full scale output. Since there are 8 LEDs every one represents 12.5%. Though, since we want the rounded percentage the LED o

Determine horsepower output at full-load torque, A 500-hp, wye-connected, w...

A 500-hp, wye-connected, wound-rotor induction motor, when operated at rated voltage and frequency, develops its rated full-load output at a slip of 0.02; maximum torque of 2 times

Explain about half duplex transmission, Q. Explain about Half Duplex Transm...

Q. Explain about Half Duplex Transmission? Half Duplex Transmission A half-duplex channel can receive andsend, though not at the same instance. It's like a one-lane bridge w

Determine overall power factor of the combined load, Q. Two balanced, three...

Q. Two balanced, three-phase, wye-connected loads are in parallel across a balanced, three-phase supply. Load 1 draws 15 kVA at 0.8 power factor lagging, and load 2 draws 20 kVA at

Telephony, connection of STS MUX/DMUX

connection of STS MUX/DMUX

Alternater, subranging ADC is a modification

subranging ADC is a modification

Arduino Microcontroller, Hi. Do you do projects with Arduino microcontrolle...

Hi. Do you do projects with Arduino microcontroller? How much does it cost?

Microprocessor, what is the function of CBW in the microprocessor

what is the function of CBW in the microprocessor

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