[fpc-devel] assembler memory addressing in 64-bit mode
jonas.maebe at elis.ugent.be
Fri Jan 6 11:26:42 CET 2012
On 06 Jan 2012, at 11:16, Torsten wrote:
> i don't understand the follow error message in 64-bit mode:
> addpd xmm0, [EAX]
> fpc 2.7.1: not ok "16 or 32 Bit references not supported"
Are you 100% certain that your address lies in the first 4GB of
memory? At least on Mac OS X, the above would always crash because it
does not put any code/data within the first 4GB of memory on 64 bit
systems (to make pointer truncation bugs as easy to spot as possible).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel