Controlling the ALU
Opcode ALUop Funct ALU Action ALU Cnt’ l
lw 00 XXXXX add 010
sw 00 XXXXX add 010
beq 01 XXXXX subtract 110
add 10 100000 add 010
subtract 10 100010 subtract 110
and 10 100100 and 000
or 10 100101 or 001
slt 10 101010 set-on-lt 111
Previous slide
Next slide
Back to first slide
View graphic version