hello test some like this:

PIN VAR PORTB.0
OUT1 VAR BIT
OUT2 VAR BIT

PIN = OUT1 ^^ OUT2 ' alternative syntax is PIN = OUT1 XOR OUT2

bye
Roberto