Answer Posted / amita
The program counter, or PC (also called the instruction pointer[1], or instruction address register[2], or just part of the instruction sequencer[3] in some computers) is a processor register that indicates where the computer is in its instruction sequence. Depending on the details of the particular computer, the PC holds either the address of the instruction being executed, or the address of the next instruction to be executed.
In most processors, the instruction pointer is incremented automatically after fetching a program instruction, so that instructions are normally retrieved sequentially from memory, with certain instructions, such as branches, jumps and subroutine calls and returns, interrupting the sequence by placing a new value in the program counter.
Such jump instructions allow a new address to be chosen as the start of the next part of the flow of instructions from the memory. They allow new values to be loaded (written) into the program counter register. A subroutine call is achieved simply by reading the old contents of the program counter, before they are overwritten by a new value, and saving them somewhere in memory or in another register. A subroutine return is then achieved by writing the saved value back in to the program counter again.
| Is This Answer Correct ? | 29 Yes | 22 No |
Post New Answer View All Answers
Which bit of the flag register is set when output overflows to the sign bit?
What was is the primary usage of a 8085 microprocessor?
explain about externally initiated operations
What is the difference between harvard architecture and von neumann architecture?
What is the maximum supported clock speed of the 8086?
In how many groups can the signals of 8085 be classified?
Describe the jae instruction with the help of an example?
What is the maximum memory addressable size by the 8086?
What is meant by the statement that 8085 is a 8 bit microprocessor?
Please give a circuit to divide frequency of clock cycle by two?
What are the general purpose registers in 8085?
Can you tell how many pins are there in 8085 Microprocessor?
What does the out instruction do, define its format?
State the differences between a procedure and a macro.
Explain the pointers and index group of registers