Is it possible in MIPS to change during execution the value of a label, or to create a label with certain value?
I ask this because when using the instruction lw $a0, label($s0)
i want to increment the value of label +4 every time we loop, indicating the new memory address of the array. I am aware I can do lw $a0, label+4($s0)
but the new value of label will not be stored.
Any advise?
See Question&Answers more detail:os