[fpc-pascal] Can I compile MASM code/file in FPC?
pascaldragon at googlemail.com
Sat Jan 16 09:32:48 CET 2016
Am 16.01.2016 04:45 schrieb "silvioprog" <silvioprog at gmail.com>:
> Can I compile MASM code (or files) in FPC? If so, how to declare some
MASM directives like .code, .data?, .const etc.?:
You can't. FPC's assembler readers only support a default syntax (usually
that what GNU as supports by default) and on x86 platforms also the Intel
If you want to use MASM you need to assemble it yourself and then $link the
resulting file in a unit which also provides access to the functions in the
object file using "external".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal