[fpc-devel] Freepascal in microcontrollers
mschnell at lumino.de
Thu Feb 28 12:17:35 CET 2008
> Enable_Mode : Enable_Set; // bit 14 .. 15/leftmost bits
With an x86 the "leftmost bits" will be in the "rightmost" (second) of
the two bytes,
with an 68K the "leftmost bits" will be in the "leftmost" (first) of the
So the two can't communicate this record via files or via network.
If you want to have them understand each other, you need to define the
edianess of the record independently of that of the processor.
Enumerated types don't help here.
More information about the fpc-devel