I think I know how to handle this, but I just want to make sure that everything is correct. Say you have the following C code:
int myInt = 3; int* myPointer = &myInt; int** mySecondPointer = &myPointer;
P contains an address indicating a place in memory that has a different address. I would like to change the second address. So the MIPS code:
la $t0, my_new_address lw $t1, ($a0)
Is that how you did it?
source share