Re: [fpc-pascal] Endian & Hex numbers

2015-04-13 Thread Michael Van Canneyt
On Mon, 13 Apr 2015, Torsten Bonde Christiansen wrote: Hi list. 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? Yes. It wi

[fpc-pascal] Endian & Hex numbers

2015-04-13 Thread Torsten Bonde Christiansen
Hi list. 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 endiann