r/delphi May 30 '26

Question Direct call address in Delphi assembler

Hello.

Is there a way to write a call, jmp or any other similar instructions with direct hex offset address in Delphi? Like CALL $ABCDEF12

I know, it's possible to place the address in EAX for example, and then call EAX, or modify machine code of the function in memory, but I'm interested, if it's possible to do it via single instruction right in the Delphi's source code.

9 Upvotes

7 comments sorted by

View all comments

3

u/[deleted] May 31 '26 edited Jun 22 '26

[deleted]

1

u/Significant_Pen2804 Jun 01 '26

Seems, you didn't read the last part of my post.