In Picbasic Pro,
a var word
b var word
c var word
c = a ^ b
But using PC to calculate XOR between a and b, I got a different value than c above.
In both of these cases, when I XOR the result back with b, I can get back a.
Any idea?
In Picbasic Pro,
a var word
b var word
c var word
c = a ^ b
But using PC to calculate XOR between a and b, I got a different value than c above.
In both of these cases, when I XOR the result back with b, I can get back a.
Any idea?
Bookmarks