Anthony Walter schrieb am Fr., 8. März 2019, 22:34:
> 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
Christo, that did it. Thanks.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, Mar 9, 2019 at 12:13 AM Anthony Walter wrote:
> ... The {$asmmode intel} compiler directive changes the asm syntax of
> what's allowed in your unit, but it does not change how dissasembled code
> is displayed in the Lazarus dissasembler view. I'd like to see instructions
> dissambled in t
Jonas, thanks I found that information useful. The pdf on page 22 says "If
the class is INTEGER, the next available register of the sequence %rdi,
%rsi, %rdx, %rcx, %r8 and %r9 is used"
Silvio, maybe I was unclear in my second question. The {$asmmode intel}
compiler directive changes the asm synta
On Fri, Mar 8, 2019 at 6:34 PM Anthony Walter wrote:
> What registers are used by default calling convention and where can I find
> more information about Free Pascal asm details?
>
For linux64 the default C.C is sysv x64. Some links with info you are
looking for:
1. https://bugs.freepascal.org
On 08/03/2019 22:33, Anthony Walter wrote:
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.
For any platform except for i386, FPC uses the official ABI.
The Win64 calling convention is document
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 or