For example you have the code:
addi $s1, $zero, 0x1234
andi $t0, $s1, 0x0f0f
You can figure out what goes in $t0 by converting 0x1234 (the value inside $s1) and 0x0f0f into binary code and doing the AND operation from the two numbers. However, is there another way you can figure out the answer without converting to binary code?