Apriva interview question

Design a Bitwise comparer to compare 2 words.