[fpc-pascal] Inline assembly using absolute dword ptr

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Apr 20 17:56:55 CEST 2012


On 20 Apr 2012, at 17:50, OBones wrote:

> So there is a difference with Delphi's assembler where it defaults to relative indexing while FPC defaults to absolute in that context.

What exactly do you mean by relative addressing in this context? RIP-relative? In FPC, you indeed have to explicitly mention the RIP register in your reference to get RIP-relative addressing.


Jonas


More information about the fpc-pascal mailing list