INTRODUCTION TO MICROPEOCESSOR
MICROPROCESSOR BASICS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
stack pointer
|
|
program counter
|
|
instruction pointer
|
|
accumulator
|
Detailed explanation-1: -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.
Detailed explanation-2: -The program counter acts as a pointer to the next instruction to be executed and always contains the 16-bit address of the memory location of the next instruction. It is a 16-bit register as 8085 has 16 address lines.
Detailed explanation-3: -Program counter It is a 16-bit register used to store the memory address location of the next instruction to be executed.
Detailed explanation-4: -In 8086, the main stack register is called stack pointer-SP. The stack segment register (SS) is usually used to store information about the memory segment that stores the call stack of currently executed program. SP points to current stack top.
Detailed explanation-5: -The address of the memory resides in H-L pair and this has already been specified by an earlier instruction in the program, i.e. LXI H, 2500 H. In this addressing mode, the operand is specified within the instruction itself. LXI H, 2500 is an example of immediate addressing.