[fpc-devel] Freepascal in microcontrollers
Micha Nelissen
micha at neli.hopto.org
Thu Feb 28 09:11:01 CET 2008
Daniƫl Mantione wrote:
> To my knowledge there is no problem with the current implementation.
> Endian conversion is already the reponsibility of the programmer.
> Therefore I don't see a need for changes on the compiler side.
Jonas said the bits were swapped, not the bytes. So PPC32 (1 shl 30)
becomes (1 shl 6) on Intel (actual), while it should be (1 shl 1)
(expected use by compiler). It's both the "second bit", bit it's in
different places.
Micha
More information about the fpc-devel
mailing list