I am programming the TI CC1110 RF transceiver with an 8051 core using SDCC 2.8.
The chip has eight consecutive bytes that program an internal DMA controller. For some reason, the bitfields for these eight bytes are setup in reverse (Big Endian?).
This puts me at a little disadvantage for loading values into the DMA registers. My work around will be to either reverse the bytes as they are assigned to the 8 byte structure, or... reverse the order of the bytes in a dummy structure,load the data, then reverse the bits of the entire structure as it is loaded into the assigned DMA registers. Has anyone else run into this, and is there a better way?

New year...new news. Be the first to know what is making headlines. (http://www.aol.com/?ncid=emlcntaolcom00000026)