op (6비트, opcode that specifies the operation)
rs (5비트, first source operand 주소)
rt (5비트, second source operand 주소)
rd (5비트, destination register 주소)
shamt (5비트, shift amount)
funct (6비트, function code)
• add rd, rs, rt
add $t0, $s1, $s2 (t0 = s1 + s2)
add -> opcode, funct
$s1 -> rs
$s2 -> rt
$t0 -> rd
sa -> 0
• sub rd, rs, rt
sub $t2, $s3, $s4 (t2 = s3 - s4)