Pelles C forum

C language => Windows questions => Topic started by: bitcoin on November 04, 2018, 03:26:18 PM

Title: Can i compile Masm code with Pelles?
Post by: bitcoin on November 04, 2018, 03:26:18 PM
Hello!

Tell me please, can i use masm-code in Pelles C? Such as in Visual Studio? So, include asm procedure and use it in my C-code? Or it is imposible?
Title: Re: Can i compile Masm code with Pelles?
Post by: TimoVJL on November 05, 2018, 06:56:13 PM
You can add asm source to project, but masm support is limited.
UAsm (http://www.terraspace.co.uk/uasm.html) can used in difficult cases.
Title: Re: Can i compile Masm code with Pelles?
Post by: Vortex on November 06, 2018, 07:09:47 PM
Hi bitcoin,

Poasm and Masm have similar syntax. The main differences are some cases of Macros. If you don't have complex macros, you can assemble your code with Poasm.
Title: Re: Can i compile Masm code with Pelles?
Post by: bitcoin on November 18, 2018, 04:00:23 AM
Yes, it works. Thank you!

UASM is good, but i dont know , how to add it to Pelles C. I write procedure in embedded asm , and this is compiled.
Title: Re: Can i compile Masm code with Pelles?
Post by: TimoVJL on November 18, 2018, 01:21:23 PM
There is an Add-In for it:
SelCompiler (https://forum.pellesc.de/index.php?topic=3250.msg24126#msg24126)