From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,255a2533fba89f5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-17 16:45:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.he.net!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!usc.edu!attla2!ip.att.net!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Calculate and set Parity References: <3d879cde.85767138@news.cis.dfn.de> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1032304995 12.234.13.56 (Tue, 17 Sep 2002 23:23:15 GMT) NNTP-Posting-Date: Tue, 17 Sep 2002 23:23:15 GMT Organization: AT&T Broadband Date: Tue, 17 Sep 2002 23:23:15 GMT Xref: archiver1.google.com comp.lang.ada:29094 Date: 2002-09-17T23:23:15+00:00 List-Id: The example Intel code shifts and masks once for each of the two bytes. You can do your XORs and just shift and mask once when you're done.