so here is what my program does
Please enter a number: (lets say I enter 5 store in $01)
Please enter a another number: lets say I enter 3 (store in $s02
next condition is
beq $s01,$s02, end
bne $s01,$s02, loop
and loop needs to provide user upto five opportunites to type is the same number as the first prompt, after the fifth opportunity in case of failure to provide correct number, program terminates.
can someone provide me a sample loop that keeps the counter and does sort of what I am looking for.
thanks