assembly code


Where can I find a compiler that will let me see its assembly code? For my course work, I have to learn to include assembly but its proving harder than ever and my deadline is now less than a week.

Where can I find a compiler that will let me see the assembly code?
You mean the assembly output of the compiler? Why, is there one that does not let you do that?
The GCC will output the assembly using the -S switch

g++ -S someCode.cpp
If you need to learn Assembly in less than a week, forget it.

Otherwise check out inline assembly:
GNU: http://www.codeproject.com/KB/cpp/edujini_inline_asm.aspx
MS: http://msdn.microsoft.com/en-us/library/4ks26t93%28v=VS.71%29.aspx
Topic archived. No new replies allowed.