What registers are used by default calling convention and where can I find
more information about Free Pascal asm details?

When writing code using the asm block on Delphi in Windows, the default
calling convention (fastcall) would pass arguments in registers EAX, EDX,
ECX then the stack in that order.

Checking registers in Lazarus on 64 bit Linux, I see the default calling
convention is using RSI and RDI, the source and destination index registers.

Also is it possible to get the Lazarus assembler to show instructions in
Intel mode rather than AT&T?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to