The memory locations 1000, 1001 and 1020 have data values 18, 1 and 16…
GATE · 2006 · IT
The memory locations 1000, 1001 and 1020 have data values 18, 1 and 16 respectively before the following program is executed.
MOVI Rs, 1 ; Move immediate
LOAD Rd, 1000(Rs) ; Load from memory
ADDI Rd, 1000 ; Add immediate
STOREI 0(Rd), 20 ; Store immediateWhich of the statements below is TRUE after the program is executed?
- A.
Memory location 1000 has value 20
- B.
Memory location 1020 has value 20
- C.
Memory location 1001 has value 20
- D.
Memory location 1021 has value 20
Attempted by 348 students.
Sign up free to check your answer
Sign up freeLoading lesson…