Arm/load0

From ASMBits

arm/loadPrevious

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

r0=0x123

Write your solution here

Upload a source file...