Solved, thank you.
Last edited by tehjojo; 04-03-2010 at 02:27 PM.
0x0E00 and 0x0111 don't have any bits in common, so the and is 0x0000.