NO

Author Topic: asm  (Read 4876 times)

post from old forum

  • Guest
asm
« on: September 13, 2004, 08:54:11 PM »
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

  • Guest
asm
« Reply #1 on: September 13, 2004, 08:54:40 PM »
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