Is there a way to load a `RIP` register relative address in inline asm?

Stefanos Baziotis sdi1600105 at di.uoa.gr
Tue Jun 18 18:29:22 UTC 2019


On Tuesday, 18 June 2019 at 17:10:50 UTC, Adam D. Ruppe wrote:
> On Tuesday, 18 June 2019 at 17:09:48 UTC, Adam D. Ruppe wrote:
>> pop EAX;
>
> errr you can see my 32 bit bias here (forgive me, I'm old), but 
> you know what i mean :)

Thank you, quite clever.
There is also the "$" symbol that is related: 
https://dlang.org/spec/iasm.html#special_symbols


More information about the Digitalmars-d-learn mailing list