question archive List the sequence of steps for executing the machine Instruction : ADD LOCA , R1 through various registers in ISA
Subject:MathPrice:9.82 Bought3
List the sequence of steps for executing the machine Instruction : ADD LOCA , R1 through various registers in ISA . Assume that the Instruction is stored in the memory 10 at location LOC100 2 (a) Define addressing mode and write an assembly language program to add two number which is available at memory location 1000 and 2000 respectively , then subtract the sum from the data stored at memory location 3000 . Use indirect addressing mode instruction for retrieve and store the data from memory location (b) Assume that registers R1 and R2 hold the values (- 32 ), & (+25), respectively. What is the value of R2 after performing addition ? Compute the result using 2's 5 complement method

NUMBER 1
Add LOCA, R1 (stored in memory location LOC100)
I. Initially, the address of LOC100 is stored in the PC.
II. Transfer the contents of register PC to register MAR.
III. Issue a Read command to memory, and then wait until it has been transferred the requested word into register MDR.
IV. Transfer the instruction from MDR into LOC100 and decode it.
V. Transfer the address LOCA from LOC100 to MAR.
VI. Issue a Read command and wait until MDR is loaded.
VII. Transfer contents of MDR to the ALU.
VIII. Transfer contents of R1 to the ALU.
IX. Perform addition of the two operands in the ALU and transfer result into R1.
X. Transfer contents of PC to ALU.
XI. Add 1 to operand in ALU and transfer incremented address to PC
Step-by-step explanation
Terms of transfers between the components PC, MAR, MDR, GPR using simple control commands.

