On 29 Jul 2009, at 20:28, Desmond Coertzen wrote:

But if I define the 'nibble' data types myself (or use the bit packed data types provided by a 'system' unit for the particular chip), they would stay
that way?

The problem is that you have no guarantee how the compiler packs the bits inside your nibble data type. E.g., the bits may be ordered little or big endian (note that this about bit-endianess, not byte endianess; although the used bit-edianess may also differ depending on whether you are on a little/big byte-endian system -- which it already does, currently).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to