On 06 Jan 2012, at 11:16, Torsten wrote:

i don't understand the follow error message in 64-bit mode:


assemblercode

asm
addpd xmm0, [EAX]
end;

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).


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to