[fpc-pascal] syscalls and fpc
Micha Nelissen
micha at neli.hopto.org
Fri Feb 15 19:36:22 CET 2008
ik wrote:
> Actually the assembler is not that hard to understand :)
> My point is, that I don't like the idea of 7 or 20 or 100 amount of
> parameters to give answer to every need. I think we should find a
> better way to implement it, like var args in C or open array in
> pascal...
The linux kernel interface is always using registers, and since there
are a limited amount of registers, there is a max. number of arguments.
IIRC the maximum is 6, i386 limited: eax, ebx, ecx, edx, esi, edi, ebp.
Micha
More information about the fpc-pascal
mailing list