How to! complie the cpp source code to the asm code.....
the option -S just outputs the asm code without any symbol.....how to add the symbol:
for example :
//int a = 10;
asm code may be :
mov $0xa , 20(%esp);
and it is difficult for reading............
if using this form:
mov $0xa,$a(%esp) ; ///just like VS
it is easy to understand.....
but how to get asm code with the gcc option in second format.......
possible?