Skip to content

Instantly share code, notes, and snippets.

@Keith-S-Thompson
Created March 26, 2013 19:15
Show Gist options
  • Save Keith-S-Thompson/5248300 to your computer and use it in GitHub Desktop.
Save Keith-S-Thompson/5248300 to your computer and use it in GitHub Desktop.
Google Groups quoting ruins comp.lang.c article
From: Myth__Buster <raghavanil4m@gmail.com>
Subject: Re: Macro for setting MSB - Intended to work on both Little and Big-endian machines
Newsgroups: comp.lang.c
Date: Tue, 26 Mar 2013 11:07:21 -0700 (PDT)
On Tuesday, March 26, 2013 11:36:34 AM UTC-4, Keith Thompson wrote:
> Myth__Buster <raghavanil4m@gmail.com> writes:
>
> > *was at the LS-bit of LS-byte like on little-endian machine . . .
>
>
>
> Without any quoted context, we can't tell what this refers to. Not all
>
> newsreaders provide an easy way to view the parent article; mine does,
>
> but it doesn't seem to provide an easy way to get back, so I don't use
>
> it much. Please quote enough of the parent article for your followup to
>
> make sense.
>
>
>
> --
>
> Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
>
> Working, but not speaking, for JetHead Development, Inc.
>
> "We must do something. This is something. Therefore, we must do this."
>
> -- Antony Jay and Jonathan Lynn, "Yes Minister"
Sorry I thought since the posts were next-to-next, I thought of not pasting the entire paragraph. The paragraph to which it applies\
is
"However, I see that (x & 1) on big-endian clearly abstracts the way 1 is laid out in memory and just takes the LS-bit of MS-byte a\
nd and-s with numerical 1 as if 1 was at the LS-bit of MS-byte like on little-endian machine."
But, here MS-byte shall be read as MS-address.
Thaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment