[fpc-pascal] syscalls and fpc

Micha Nelissen micha at neli.hopto.org
Thu Feb 14 22:02:36 CET 2008

ik wrote:
> Hi,
> I found that the Do_Syscalls are written in assembly and have only
> limited number of parameters (up to 6). Is there a way to write it
> using array of TSysParam instead of having 7 different functions ?

Maybe but it wouldn't make the assembler easier to read :-).

> Another question is, is there a way to use it witthout writing
> assembly, like using it in libc or some other way ?

Calling them doesn't require assembler, or what do you mean? You can try
to extend the compiler to support inlining of assembly functions ;-).


More information about the fpc-pascal mailing list