Hello everyone, could you provide me a shove in the right direction please regarding XOR'ing
i have a bit of code that XOR's two bytes together, and it works fine, but how do i get around the issue if i want to use 2 bytes ?
so obviously i can do
1,2,4,8,16,32,64,128 But i cant do any higher e.g 256... should i use a shift register ?
or is there another way i can tackle this ?
Thanks
What do you mean by XOR? Are you XOR'ing every individual bit, which is trivial to extend to longer numbers (since XOR does not involve carrying or borrowing), or doing some sort of tapped shift register? You may need to show your code.