Write an assembly program that updates the data memory D as
     Write an assembly program that updates the data memory D as D[0] = D[0] + D[1] using 3 instruction instruction set. Explain the operation of each instruction used.![Write an assembly program that updates the data memory D as D[0] = D[0] + D[1] using 3 instruction instruction set. Explain the operation of each instruction u  Write an assembly program that updates the data memory D as D[0] = D[0] + D[1] using 3 instruction instruction set. Explain the operation of each instruction u](/WebImages/27/write-an-assembly-program-that-updates-the-data-memory-d-as-1070746-1761560836-0.webp) 
  
  Solution
Answer:
Code:
MOV R0, 0
MOV R1, 1
ADD R0, R0, R1
MOV 0, R0
![Write an assembly program that updates the data memory D as D[0] = D[0] + D[1] using 3 instruction instruction set. Explain the operation of each instruction u  Write an assembly program that updates the data memory D as D[0] = D[0] + D[1] using 3 instruction instruction set. Explain the operation of each instruction u](/WebImages/27/write-an-assembly-program-that-updates-the-data-memory-d-as-1070746-1761560836-0.webp)
