Explain the function of the following registers in 8085 MPU:
1) Stack Pointer
2) Instruction Register
3) Program Counter
Answers
Answered by
11
- Stack Pointer : It is used as a memory pointer. It points to a memory location in read/write memory, called the stack. It is always incremented/decremented by 2 during push and pop operation.
- Instruction Register : These registers are used to store or copy temporary data, by using instructions, during the execution of the program
- Program Counter : The function of the program counter is to point to the memory address from which the next byte is to be fetched.
Similar questions