PC Review


Reply
Thread Tools Rate Thread

Bitwise - Capture bits shifted out

 
 
amyl@paxemail.com
Guest
Posts: n/a
 
      27th Dec 2006
I have a 32 bit number "3515261219" that really contains four 8 bit
numbers.

11010001 10000110 10100001 00100011

Is there a way to capture the bits that are shifted out of the number
when you right shift? If I can grab the bits this way I can right shift
8 bits and capture each number.

The other way I possibly see doing this is to right shift 24 which will
give the first number. Than left shift the original number 8 and than
right shift 24 and repeat. This would keep cycling each 8 bit number
to the left so that a 24 bit shift to the right would capture it.

Thoughts?
Amy.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer 7 (32-bits) keeps on freezing wile the 64-bits works OK in Vista 64 Trond Ruud Windows Vista General Discussion 1 16th Jun 2007 04:30 PM
An approach for n-bit int. / m-bit ext. scanners (was: Re: Sprintscan 35+, 10 bits vs 8 bits) Lorenzo J. Lucchini Scanners 18 9th Nov 2005 02:09 PM
MM2 sound problem (16 bits or 12 bits) =?Utf-8?B?TGFkeV9Mb2dpYw==?= Windows XP MovieMaker 1 5th Jul 2004 09:24 PM
Bitwise Or and bitwise shifting..... James Dean Microsoft C# .NET 5 22nd Jun 2004 11:29 AM
IE 6 Cipher Strength: 0-bits upgrade to 128-bits Roy Asercion Windows XP Internet Explorer 1 24th Dec 2003 03:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:18 AM.