Re: Invalid combination of opcode and operands
Adriaan van Os via fpc-pascal <[email protected]> Mon, 23 Feb 2026 16:40:33 +0000 (UTC)
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
Marco van de Voort via fpc-pascal wrote: > > Was this code meant for 64-bit or 32-bit, and are you running it on the > same architecture where you originally tested/used it? > > This because the sourcebuffer seems to indicate [mem64], which sounds > like target 64-bit intel, which might expect a rip relative addressing like > > MOVSS xmm2,[rip+SourceBuffer] > > But if the code was originally 32-bit the original expression would have > been valid. I should add that SourceBuffer is an argument to a function, so I assume it to be a full address, not an offset. procedure MyProc( SourceBuffer: Pointer....); Regards, Adriaan van Os _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal