Where does the data for the memory instruction come from?

The memory instructions also use the ALU to do the address calculation, but the second input is the sign-extended 16-bit offset field from the instruction. The value stored into a destination register comes from the ALU for an R-type instruction, whereas, the data comes from memory for a load.
For More Information Please Refer:

You May Also Like to Read: