Conditional Expressions
bne $a,$b,LABEL
branch if not equal
if $a != $b then jump to LABEL
beq $a,$b,LABEL
branch if equal
if $a == $b jumpt to LABEL
slt $a,$b,$c
select if less than
if ($b < $c) then $a = 1 else $a = 0
Previous slide
Next slide
Back to first slide
View graphic version