You should hand in the solutions to problem 2 and 6 in the tutorial class. Do other problems as well if you can.
1100 1010 1111 1110 1111 1010 1100 1110
1000 1111 1110 1111 1100 0000 0000 0000What does it represent, assuming that it is
abs $10, $11 # $10 = |$11|This instruction means that register $10 has a copy of register $11 if register $11 is positive, and the two's complement (negatived value) of register $11, if $11 is negative.
a b a xor b a nor b 0 0 0 1 0 1 1 0 1 0 1 0 1 1 0 0Show the minimal MIPS instruction sequence for a new instruction called not that takes the one's complement (invert 0 and 1) of a source register and places it in a destination register. Convert this instruction (accepted by the MIPS assembler).
not $10, $20The not operation in C is the operator `!'.