Nios/load1

From ASMBits

nios/load0Previous

Your function will be passed a pointer to a 32-bit word. Write a function that reads this word from memory and returns it.

int load (int *pointer);

Expected solution length: Around 2 lines.

Sample Input

r4=Data

Sample Output

r2=0x123

Write your solution here

Upload a source file...