20 September 2006

Lilliputian

Update:

Big endian -> little endian ended up taking four HOURS to fix.

Things that hindered:
-Certain architectures adding sign bits to right shift
-Not realizing that I was looking at a hex representation of the number while
it was still in big-endian when I was trying to troubleshoot the little endian
representation
-Taking awhile to wrap my head around "4 bits per hex digit and don't worry about bits actually used to represent the hex digit you see; that's irrelevant anyway."

And I'm still not sure if that last one is right.

Blerg. In any case.

No comments: