[fpc-pascal] Endian & Hex numbers
Torsten Bonde Christiansen
tc at epidata.info
Mon Apr 13 15:06:18 CEST 2015
Please forgive me if this is too dumb a question, but:
When using a const written in hex, is the order significant?
Ie. will eg. $1F01 result in the same value (7937) on both big-endian
and little endian machines?
Likewise, if I use an absolute reference to a variable is the endianness
A: SmallInt = $1F01;
B: array[0..1] of byte absolute A;
Will B be the same on both types of endian machines?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal