[fpc-pascal]Three little pig... uh, questions :-)
jonas at zeus.rug.ac.be
Thu Nov 23 15:07:21 CET 2000
>1. Isn't FPC able of the standard pascal calling convention (pushing
>parameters left-to-right, function removes parameters)?
Use the "stdcall" modifier.
>2. When will parameter passing in registers be available?
Don't know yet.
>3. Do I need to tell FPC which registers will be modified by an assembler
>function in an external object file? How do I tell it FPC (the doc
>only covers this for internal asm functions)?
I don't think you can tell FPC that. It will simply assume all registers
are modified by such a function.
More information about the fpc-pascal