Tailoring the ALU to the MIPS
Need to support the set-on-less-than instruction (slt)
- remember: slt is an arithmetic instruction
- produces a 1 if rs < rt and 0 otherwise
- use subtraction: (a-b) < 0 implies a < b
Need to support test for equality (beq $t5, $t6, $t7)
- use subtraction: (a-b) = 0 implies a = b