From: joy merwin monteiro <joy.merwin@gmail.com>
To: "chris@luethy.net" <chris@luethy.net>
Cc: linux-assembly@vger.kernel.org
Subject: Re: packed bits question
Date: Wed, 16 Nov 2005 21:50:11 +0530 [thread overview]
Message-ID: <4b0d6e0d0511160820i688ddaa6y1290df9fe20b49f@mail.gmail.com> (raw)
In-Reply-To: <38657.67.182.183.189.1132118461.squirrel@mail.luethy.net>
Hi,
as Robert said, you could do the assembly equivalent of this macro:
#define GET_BIT(ptr,bitnum) ptr[(bitnum>>3)]>>(7-(bitnum%8))
Joy
--
Girls are like slugs.... You know they are around for a reason, but
you cant imagine what.
-- Calvin
prev parent reply other threads:[~2005-11-16 16:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 5:21 packed bits question chris
2005-11-16 6:31 ` Robert Plantz
2005-11-16 8:23 ` Karthik Ravikanti
2005-11-16 16:20 ` joy merwin monteiro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b0d6e0d0511160820i688ddaa6y1290df9fe20b49f@mail.gmail.com \
--to=joy.merwin@gmail.com \
--cc=chris@luethy.net \
--cc=joy_mm@ieee.org \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).