Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Basic doubt on Assembly format

$
0
0

Dear All,

I am new to assembly language. Using, GCC on Windows 7 with Mingw. Using following command, using source file Hello.c, 

got the Disassembley on the Hello_asm.txt ( can see the assembly content..believe it is in Intel format).

objdump -M intel -S -d Hello.o >Hello_asm.txt

Fine. Now, another secnario,   if the use the Intel C++ compiler on my Windows 7 PC, Without  Visual studio environment, compile Hello.c and get the  Assembly file.. believe it will created with .asm  ( Hello.asm.).  My doubt :  Hello.asm ( Intel)  and Hello_asm.txt (GCC) will have same assembly language content for the x86  platform/Windows. Irrespective of whether an exe  file created or not  (from Obj file or  assembler)

Please advise. Am i missing any info.

Cheers!

Chandra 


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>