Hi Bevan.
Now you see my dilema !
The info below, THAT'S all the info I have to work from !
You have confirmed tho, I am NOT going made and it is wrong. The document is
also wrong in a couple of other spots too, so I am not surprised.

Jeremy 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Bevan Edwards
Sent: Tuesday, 24 May 2005 03:37
To: NZ Borland Developers Group - Offtopic List
Subject: Re: [DUG-Offtopic] integer values and bits

Hi Jeremy,

It sounds a bit strange because you talk about "bits", but bits only have
values of 0 or 1, not 8.  However, a bit in that particular position would
have a nibble value of 8 for those first four bits.

So, perhaps it's simply saying that if you do a bitwise "and" with hex 80
you will get bit 7.  Continuing this, you can get bit 6 by doing a bitwise
"and" with 40, and so on through 20, 10, 08, 04, 02, and 01.

Perhaps it would make more sense if we knew what it was talking about?

Regards,

Bevan


Jeremy Coulter wrote:
> Hi All.
>  
> I have a document that I think is wrong, but I thought I would just 
> check all the same.
>  
> I have a value, 80000000.
> This is to be interigated each char on its own.
> The document says "This is eight characters with following ASCII 
> values in Hexadecimal notation"
>  
> bit7
> bit6
> bit5
> bit4
>  
> No I know that in he above case the above vaue "8" is bit7, BUT this 
> does not seem to add up at all !!
>  
> anyone got an idea they can share?

_______________________________________________
Offtopic mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/offtopic



_______________________________________________
Offtopic mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to