[fpc-pascal] Inline assembly using absolute dword ptr

OBones obones at free.fr
Fri Apr 20 17:43:11 CEST 2012


Jonas Maebe wrote:
>   {$IFDEF WIN64}
>   push    rcx
>   mov     rcx,gs:[abs qword ptr $30]
> And this:
>   mov     rcx,qword ptr gs:[$30]

Thanks, but does this guarantee absolute indexing?
I'm asking because the abs keyword is required when using the same code 
under Delphi XE2. If I don't use it, that instruction triggers an access 
violation.



More information about the fpc-pascal mailing list