From ASMBits

Consider the assembly code snippet below:

movia r2, Data
ldw r3, 0(r2)
ldw r4, 1(r3)
ldw r5, 2(r4)

Declare some data in memory such that the result of running the code is:
  • r5 equals r2
  • r2, r3, and r4 are all different

Sample Input


Sample Output


Your .word declarations can contain simple arithmetic operations.

Write your solution here

Upload a source file...