Nios/load0
From ASMBits
nios/loadPrevious
Nextnios/load1
There is a 32-bit word located at memory location labelled with the label Data. Write a function that reads this word from memory and returns it. Note that the function has no parameters.
int load ();
Expected solution length: Around 3 lines.
Sample Input
No input to function.
Sample Output
r2=0x123
nios/loadPrevious
Nextnios/load1