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

Dwsdasdad, adadaaaaaaaaaaaaaaaaaaaaaaascaacacaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

adadaaaaaaaaaaaaaaaaaaaaaaascaacacaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAsk question #Minimum 100 words accepteda

Encoder, decimal to BCD code encoder active low

decimal to BCD code encoder active low

Technology options for metering, Technology Options for Metering Energ...

Technology Options for Metering Energy meters classically consist of an energy measurement apparatus for measuring energy consumption and a gauge in which is visible outside t

Find resistance when the bridge is balanced, Q. Consider the bridge circuit...

Q. Consider the bridge circuit given in Figure with R 1 = 24 k, R 2 = 48 k, and R 3 = 10 k. Find R when the bridge is balanced with V = 0.

Transfer function of radiator, hi, i want to know the transfer function of ...

hi, i want to know the transfer function of a radiator

OC AND SC TEST OF AN ALTERNATOR, WRITE THE PROCEDURE CONDUCT OC AND SC TEST...

WRITE THE PROCEDURE CONDUCT OC AND SC TEST OF AN ALTERNATOR TO FIND SYNCHRONOUS IMPEDENCE

Transfer function, derive transfer function of S= 2.25+j4.5

derive transfer function of S= 2.25+j4.5

Electronics, what is the difference between half &full wave rectifier

what is the difference between half &full wave rectifier

Adc instruction, ADC   Instruction This instruction is used to add th...

ADC   Instruction This instruction is used to add the contents of any register of any register  memory location and carry  flag with the  contents of accumulator  and result  i

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