[fpc-pascal] FPC ARM inline Assembler

Sven Barth pascaldragon at googlemail.com
Fri Apr 7 00:01:12 CEST 2023


Vern via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Do., 6.
Apr. 2023, 19:06:

> After reading the FPC manual more closely , the correct compiler command
> is {$ASMMODE default} where* default *is the native system ... in this
> case Orange Pi arm64 and the compiler now allows accepting ARM assembler
> instructions
>

You don't need to use the $ASMMODE directive on non-x86 platforms, because
the default syntax will always be selected. Also it's always possible to
add assembly code.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230407/a79d7e4e/attachment.htm>


More information about the fpc-pascal mailing list