[fpc-pascal] location modifier
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jan 18 17:17:13 CET 2016
On Mon, 18 Jan 2016 16:59:49 +0100 (CET)
"Karoly Balogh (Charlie/SGR)" <charlie at scenergy.dfmk.hu> wrote:
>[...]
> And there's no need to take educated guesses, it's all documented in the
> wiki:
>
> http://wiki.freepascal.org/Amiga#Introduction_to_SysCalls
> http://wiki.freepascal.org/MorphOS#Introduction_to_SysCalls
>
> From syntax PoV, the argument is always a two character string, and can
> contain 'd0'-'d7', and 'a0'-'a6', which are the 68k CPU's data and address
> registers, respectively.
>
> Syscalls also exist on AROS/i386 and AROS/x86_64 (for now), but there the
> locations are defined by the ABI, without the need to be specified
> explicitly. In the future, I plan to reuse syscalls and the location
> syntax for a possible Atari port too.
>
> If there are any more questions, I'm happy to answer.
Thanks.
Mattias
More information about the fpc-pascal
mailing list