MIPS coding
MIPS coding. slt, slti. slt $t3, $t1, $t2 set $t3 to be 1 if $t1 < $t2 ; else clear $t3 to be 0 . “Set Less Than.” slti $t3, $t1, 100 set $t3 to be 1 if $t1 < 100 ; else clear $t3 to be 0. Using slt. slt $t3, $t1, $t2 bne $t3, $zero, L21 ori $t0, $t1, 0 j L22 L21:
256 views • 13 slides