Nios/loaddecl3
From ASMBits
nios/loaddecl2Previous
Nextnios/loaddecl4
Consider the assembly code snippet below:
movia r2, Data
ldw r3, 0(r2)
ldw r4, 0(r3)
ldw r5, 0(r4)
Declare some data in memory such that the result of running the code is:
- r5 = 0x12345
- r2, r3, and r4 are all different
Sample Input
[None]
Sample Output
r5=0x12345
nios/loaddecl2Previous
Nextnios/loaddecl4