|
Hello. I want to access a part of an array while only knowing it's start location in memory. As an example, say I want to access joe[2] when joe[] starts at memory cell 5,000. I need to do something like this:
lw $t0, 8(5000)
but am unsure of the exact syntax from knowing that the parentathes must contain a register. I dont know how to find the name of the register in memory at 5,000, so I'm currently stuck with:
lw, $t0, 8(?)
Please help. Thank you.
|