-
The following program is written for an 8085 microprocessor to add two bytes located at memory addresses 1FFE and 1FFF
LXI H, 1FFE MOV B, M INR L MOV A, M ADD B INR L MOV M, A XOR A
On completion of the execution of the program, the result of addition is found—
-
- in the register A
- at the memory address 1000
- at the memory address 1F00
- at the memory address 2000
Correct Option: D
Let 01 H store in memory location 1 FFE and 02 H Store in 1 FFF
On completion of the execution of the program, the result of addition is found at the memory address 2000H.
Hence alternative (D) is the correct choice.