I am learning MIPS Assembly language and I was wondering how I can load values from an address. For example I want to store the memory address 0x10010000 in $t2. 0x10010000 has in it values 12,33,70,70(0x10010000 - 0x10010003). 0x10010004 would have something like F4,A6, 12,99((0x10010004 - 0x10010007).
I have this so far
add $t3, $t2, $zero
lw $t4, 0($t3)
add $t5, $t4, -6
sw $t5, 4($t2)
but don't know how I would "initialize" $t2
la $t2, labelName- Erik Eidt