Marco van de Voort via fpc-pascal wrote:
Op 23-2-2026 om 17:40 schreef Adriaan van Os via fpc-pascal:
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....);
Try adding the "rip+". Most 64-bit OSes don't use 64-bit immediate
values because they are huge to encode.
Most use RIP relative addressing,.
Same error:
MOVSS xmm2,[rip+SourceBuffer] <--- Asm: [movss xmmreg2,mem64] invalid combination of opcode
and operands
Regards,
Adriaan van Os
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal