Because "^" is a PBP command for a BITWISE (bit-by-bit) exclusive or. The PC is using a LOGICAL exclusive or. To get the same result as the PC, use the "^^" or XOR PBP commands.