How do I work-out this collection? Please, exhibition steps.
Problem: Record s1 contains the rate 23, and record s2 contains the rate 30. What obtain the variation of record t0 be behind this counsel is executed (solution in hexadecimal):
slt $t0, $s1, $s2
slt $t0, $t1, $t2 # The record $t0 is 1 when the record rate $t1<$t2 Differently 0
Where $t0 is the unimportant record
$t1 is the highest record
$t2 is the remedy record
Consider the record rates as abandoned in the inquiry.
$s1, 23h # Record S1 contains the rate 23.
$s2, 30h # Record S2 contains the rate 30.
slt $t0, $s1, $s2 # $t0=1 consequently $S1 is short than $S2 (23<30).
Therefore, behind executing the counsel, the variation of the record t0 is 1 (0001h).