Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

RE: [AVR-Chat] Exclusive or

RE: [AVR-Chat] Exclusive or

2004-06-20 by David VanHorn

At 12:07 PM 6/20/2004 -0700, Dave Hylands wrote:

>Hi Wagner,
>
>The following comninations will also yield a 1:
>
>0111
>1011
>1101
>1110
>
>I think that David made a mistake on his 0111 entry.

I did. 

>To check that only one bit is set is the same thing as saying that a
>number is a power of two.

What I'm after, works out to the parity problem, 1 if an odd number of bits. At least I think so... I'm doing the feedback for a PN generator with four taps. What I've always seen in the feedback is E=AxorB, F=CxorD, G=ExorF with G being the feedback bit.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.