VS how to generate assembly code


Insert picture description here

1. The process of generating executable files

.c->preprocessing->compile->.s file (assembly file)->assembly->main.obj->link->executable file

2. vs how to generate assembly code

  1. Right-click project properties
  2. Configuration properties -> c/c++ -> point output file
    Insert picture description here
  3. Click to regenerate. main.cod
    Insert picture description here
    Insert picture description here

![Insert the picture description here](https://img-blog.csdnimg.cn/20210208104809414.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNz80MzFF_color=70FF_Abl_size,

  1. Open vs code, click asm on it, if there is a color
    Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43722052/article/details/113753192