Question 2: Answer each of the following
Points: /4
CLO 1.2
1) The memory locations 1000, 1001 and 1004 have data values 18, 2 and 16 respectively before the
following program execute.
MOVI Rs, 1 Move immediate
LOAD Rd, 1000 (Rs) Load from memory (displacement addressing mode)
ADDI Rd, 1000 Add immediate
after the program get executed.
a. What is the content of register Rs?
A4
b. What is the content of register Rd after execting the second instruction?
B18
c. What is the content of register Rd after execting the third instruction?
C1018