Answer from cs61c-cm (Christopher Marcellino 15775059) for Question 2
Assuming that k's address been stored in $s1:

lw $t0, 0($s1)
add $t0, $t0, 1
sw $t0, 0($s1)
