
--- Wolfgang Denk wd@denx.de wrote:
In message 20050420144405.70123.qmail@web32203.mail.mud.yahoo.com you wrote:
d008 == 1101000000001000 100b == 0001000000001011
...
Looks like an endian issue to me. Just do a byte swap...
No, not at all. Endianess affects the BYTE order, i. e. the sequence of bytes, but not the positions of the bits in a byte.
Best regards,
Oops, you're right, I meant the bits appear to be reversed. Like they were shifted in bit 0 first and the other bit 31 first...
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de What the gods would destroy they first submit to an IEEE standards committee.
This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com