Correct Answer - Option 2 : program counter
The register in the 8085A that is used to keep track of the memory address of the next opcode to be run in the program is the program counter.
Explanation:
Program Counter (PC):
1. It is a 16-bit special-purpose register used to sequence the execution of the program.
2. It provides the address of the next instruction to be fetched from the memory of execution from the memory for execution.
3. When a byte is fetched then the PC automatically incremented by one to point to the next memory location.
Stack Pointer:
1. It is a 16-bit special-purpose register, used as a memory pointer.
2. It provides the top address of the stack. A memory location in R/W memory is called "STACK". It is a part of RAM, which is used during Subroutines, PUSH and POP instructions.
Accumulator:
1. It is an 8-bit programmable register where generally the result is stored after arithmetic and logical operation.
2. All the arithmetic and logical operations performed with the contents of the accumulator and the results are stored in the accumulator only.
Hence option (2) is the correct solution.