Consider the following program segment. Here R1, R2 and R3 are the general purpose registers.
LOOP:InstructionMOV R1,(3000)MOV R2,(R3)ADD R2,R1MOV (R3),R2INC R3DEC R1BNZ LOOPHALTOperation R1←M[3000]R2←M[R3]R2←R1 + R2M[R3]←R2R3←R3 + 1R1←R1 – 1Branch on not zeroStopInstruction Size(no. of words)21111121
Assume that the content of memory location 3000 is 10 and the content of the register R3 is 2000. The content of each of the memory locations from 2000 to 2010 is 100. The program is loaded from the memory location 1000. All the numbers are in decimal.
Assume that the memory is byte addressable and the word size is 32 bits. If an interrupt occurs during the execution of the instruction “INC R3”, what return address will be pushed on to the stack?