Re: [fpc-devel] assembler memory addressing in 64-bit mode

2012-01-06 Thread Torsten
Hi Florian, Am 06.01.2012 11:53, schrieb Florian Klämpfl: Am 06.01.2012 11:16, schrieb Torsten: Hi, i don't understand the follow error message in 64-bit mode: assemblercode asm addpd xmm0, [EAX] end; I think this is a bug. While in theory, it might be possible to write such code, I'am

Re: [fpc-devel] assembler memory addressing in 64-bit mode

2012-01-06 Thread Florian Klämpfl
Am 06.01.2012 11:16, schrieb Torsten: > Hi, > > i don't understand the follow error message in 64-bit mode: > > > assemblercode > > asm > addpd xmm0, [EAX] > end; > > > I think this is a bug. While in theory, it might be possible to write such code, I'am still prefer the error of FPC: in 99.

Re: [fpc-devel] assembler memory addressing in 64-bit mode

2012-01-06 Thread Jonas Maebe
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

[fpc-devel] assembler memory addressing in 64-bit mode

2012-01-06 Thread Torsten
Hi, 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" nasm 2.09.10: ok Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 1: Basic Architecture: 3.7.5.1 Specifyin