[fpc-pascal] Can I compile MASM code/file in FPC?

silvioprog silvioprog at gmail.com
Sat Jan 16 04:44:21 CET 2016


Hello,

Can I compile MASM code (or files) in FPC? If so, how to declare some MASM
directives like .code, .data?, .const etc.?:

=== begin code ===

program fpcmasm;

{$asmmode masm} // I know, it doesn't compiles, please tell me what I use
:-)

{$i  <Can I include my MASM file here?>}

procedure somefunc; assembler;
asm
  <Can I use my MASM code here?>
end;

end.

=== end code ===

Thank you!

--
Silvio Cl├ęcio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160116/16a9dc44/attachment.html>


More information about the fpc-pascal mailing list