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

Reply via email to