OBones wrote:
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.
Well, I managed to get my hands on my test project here, and it does work.
So there is a difference with Delphi's assembler where it defaults to
relative indexing while FPC defaults to absolute in that context.
Thanks for the help
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal