[fpc-devel] FPC micro controller

Michael Schnell mschnell at lumino.de
Thu Jul 30 10:09:22 CEST 2009


Jonas Maebe wrote:

> This is not usable for accessing particular bits of microcontroller
> registers, because the internal format of a bitpacked record is
> undefined and can change at any time for any reason.


Is this likely to happen ? AFAIK, in C the "struct ...:n" layout also is
implementation depending and the memory layout in fact is not identical
between high-endian and low-endian processors.

This _does_ offer problems when transferring such structures via Network
or files.

-Michael



More information about the fpc-devel mailing list