A MIPS ALU
- We need AND and OR.
- Also ADD
- Inputs: A, B , cin
- An invert for B
- An operation - or two bit control line.
- NOR can be done by not(A+B) (a not A line)
- SLT instruction: Outputs a 1 if A <B, Really MSB of subtraction
- BEQ, BNE need to know if the result is a zero
- Overflow Detection.
- A MIPS ALU S