[fpc-devel] FPC micro controller
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Jul 29 20:34:03 CEST 2009
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
More information about the fpc-devel
mailing list