go to previous page   go to home page   go to next page hear noise


FEED      1111 1110 1110 1101
BECA      1011 1110 1100 1010
————      ———— ———— ———— ————
FEEF      1111 1110 1110 1111

When bitwise logic problems are written in hexadecimal, as above, is usually easiest to translate into bits, do the OR, then translate back to hexadecimal.

AND Instruction

AND Operation on Bits
first operand 0011
second operand 0101
result 0001

MIPS has an AND instruction:

and  d,s,t    # $d gets the bitwise 
              # AND between $s with $t.

Recall that the result of AND is one only when both operand bits are one.


What is the bitwise AND of the following?