Re: Invalid combination of opcode and operands

Marco van de Voort via fpc-pascal <[email protected]> Mon, 23 Feb 2026 19:36:47 +0100
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
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,.

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal