Swapping CMP and XOR simplifies the decode.
Actually add the test.