News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

asm

Started by post from old forum, September 13, 2004, 08:54:11 PM

Previous topic - Next topic

post from old forum

if i compile a c file with pelles c, (output as .asm but not .obj), then can i compile that asm with any asm compiler

post from old forum

Not exactly, since the output will contain directives (like [section .text] and #line nn "filename.c") which other assemblers probably will complain about (at least the syntax). You will have to edit the file by hand, I think. The rest of the syntax should be close to the NASM assembler, but I havn't tested it for a long time.

I have also seen programs in the past, on the web, that are supposed to 'clean up' assembler files, to make them more suitable for other assemblers. I have looked, but I can't find any saved links in my browser. Maybe a search engine can help you?

Pelle