How can I do a repetition a certain number of times in assembly (in the MIPS )?
Example in pseudocode, assuming that the variable registrador
is a register that I want to receive all numbers from 1 to 6 (one at a time, obviously)
var i = 1;
while(i <= 6)
{
registrador = i;
i = i + 1;
}