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

Electric roadway system specification, The electric roadway system shall ut...

The electric roadway system shall utilize solar energy as the main power source. The electric roadway system shall negotiate with the power utility on backup power supply.

Find the temperature coefficient of the resistance material, The field resi...

The field resistance of a dc machine is 50 ohm at 20 o C. The resistance increases to 55 ohm at 50 o C. Find the temperature coefficient of the resistance material. Ans: Sol

Components of gis - methods, Methods: A successful GIS operates accordi...

Methods: A successful GIS operates according to a well-designed plan and business rules that are the models and operating practices unique to every organization. GIS gives i

Problem on pulse code modulation, (a) "Pulse Code Modulation (PCM), as used...

(a) "Pulse Code Modulation (PCM), as used in telephony, samples a signal at 8 kHz using 256 quantization levels". i. Outline how this scheme works with the help of sketches and,

For zero flag - return instructions, For zero flag  RZ ( Return on Z...

For zero flag  RZ ( Return on Zero) and RNZ ( Return on no zero) Instructions RZ  returns from the subroutine to the  calling  program, if zero flag  is set  (Z= 1). The

Explain about for loop construct, Q. Explain about For Loop Construct? ...

Q. Explain about For Loop Construct? The loop build causes the for loop to be splitted into portions and portions shared amongst threads in team. The syntax of loop construct

Types of cells and batteries, Types of cells and batteries are:- a.  C...

Types of cells and batteries are:- a.  Carbon-zinc cell b. Nickel-cadmium cell c.  Alkaline celld.  d.  Edison cell e.  Mercury cell

Scale-space pyramids, Scale-space pyramids   Write an m-file "scale_s...

Scale-space pyramids   Write an m-file "scale_space.m" which computes scale space representation of an input image for a given scale "sigma" and displays them. (i) 4 scale

What are the disadvantages of using robots, What are the Disadvantages of u...

What are the Disadvantages of using robots -  They can find it difficult to deal with 'unusual' circumstances for example a door is missing from a car waiting on the paint spra

Give properties and uses of silicon and nickel iron alloys, Give the proper...

Give the properties and uses of silicon iron alloy and nickel iron alloy. Silicon Iron alloy: Pure iron has low resistivity that results in higher eddy current losses. These

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