Nios/loaddecl2
From ASMBits
nios/loaddecl1Previous
Nextnios/loaddecl3
Consider the assembly code snippet below:
movia r2, Data
ldw r3, 0(r2)
add r2, r2, r3
ldw r3, 0(r2)
add r2, r2, r3
ldw r4, 0(r2)
Declare some data in memory such that the result of running the code is:
- r4 = 0x1234
Sample Input
[None]
Sample Output
r4=0x1234
nios/loaddecl1Previous
Nextnios/loaddecl3