How to produce an assembly file (.asm) on Windows by having a program in C?
I use NetBeans 6.7.1 on Windows and it would help me a lot if i could do that,
additionaly do you know a way that the syntax produced will be compatible with MASM?
I have Ubuntu too and i used the command

gcc -S file.c

and produced a (.s) file that i cannot run either.
Do you know a way of doing the first thing or both?

Recommended Answers

All 2 Replies

There are options in VC++ to produce several kinds of assembly code from the C or C++ code. I don't use NetBeans but I would imagine it has an option too.

I found it on Windows,
Is there anyone that knows the second part
of my initial question?

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.