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 ;-). Micha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal