Hi Jeremy,

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"

Let's approach this from another angle then. What type is the value? ( I think that's what Neven was asking).

It sounds like it is a long word, given that it is essentially 4 bytes (8 hex digits).

But you're saying that you need to interrogate each "bit" on it's own, as opposed to each byte? If so, then simply starting with hex 80000000 and using shr (shift right), you can do a bitwise "and" with the value in order to get the "bits".

Does that help at all?

--

Regards,

Bevan Edwards                           mailto:[EMAIL PROTECTED]
Achieve Software Limited                http://www.achieve.co.nz

Phone:  (64-9) 444-4210
Fax:    (64-9) 444-4201
Mobile: (64-21) 979-603


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

Reply via email to