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

Find the current through the diode in the circuit, Q. A diode is connected ...

Q. A diode is connected in series with a voltage source of 5 V and a resistance of 1 k. The diode's saturation current is given to be 10 -12 A and the I-V curve is shown in Find

What is memory paging, What is memory paging? The memory paging mechan...

What is memory paging? The memory paging mechanism located inside the 80386 and above permits any physical memory location to be assigned to some linear address.

Illustrate about crossbar exchange, Q. Explain crossbar exchange, with all ...

Q. Explain crossbar exchange, with all call processing steps and diagrams. Ans: The basic concept of crossbar switching is to provide a matrix of n x m sets of contacts with

Explain computer-aided circuit analysis, Q. Explain Computer-aided circuit ...

Q. Explain Computer-aided circuit analysis? A word of caution is appropriate if this is the student's first experience with simulation. Just as the proliferation of calculators

What are the modes used in keyboard modes, What are the modes used in keybo...

What are the modes used in keyboard modes? 1. Scanned Keyboard mode with 2 Key Lockout. 2. Scanned Keyboard particular Error Mode. 3. Scanned Keyboard with N-key Rollover

Draw a 100 line exchange, Q. Draw a 100 line exchange using two motion sele...

Q. Draw a 100 line exchange using two motion selectors and elucidate, how switching takes place in it. Ans: In a 100 line exchange, every subscriber is assigned a 2 digit

Description of the program counter and the data pointer, Questions: a) ...

Questions: a) Give a brief description of the program counter and the data pointer, including their differences. b) Briefly describe what are Byte-Level logical operations

Estimate the length of the wire required to get a resistance, A heater elem...

A heater element is made of nichrome wire having resistivity equal to 100 × 10 -8 ohm-m. The diameter of the wire is 0.4mm. Calculate the length of the wire required to get a resi

#DSP ., #The requirement is as follows- There is a signal which is in the r...

#The requirement is as follows- There is a signal which is in the range of 0 to 5Hz. This signal frequency composition is to determined. The resolution of the determination is 1Hz.

Geographic information system, Geographic Information System: Geograph...

Geographic Information System: Geographic Information System (GIS) is a computer system capable of assembling, manipulating, storing, and displaying geographically referenced

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