Arm/load
From ASMBits
There is a 32-bit word located at memory location (address) 0x345678. Write a function that reads this word from memory and returns it. Note that the function has no parameters: It loads a word from a hard-coded location.
int load ();
Expected solution length: Around 3 lines.
Sample Input
Memory [0x345678] initialized to 123. No input to function.
Sample Output
123