Vincent Snijders schrieb: > Micha Nelissen schreef: >> 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. > > Fortunately I studied mathematics, so I can count the mentioned > registers: 7.
One stores the syscall number. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal