A good answer might be:

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

It is usually easiest to translate into bits, do the OR, then translate back to hex.

AND Instruction

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

 

MIPS has an AND instruction:

and  d,s,t        # $d <-- bitwise AND between $s with $t.

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



QUESTION 8:

What is the bitwise AND of the following?

FEED
BECA
----