title: viewing assembly code in Visual Studio Code
body: <p>I am very new to computer science and will take a course called computer system.
  I tried to read a little bit from the text book and follow the examples about understanding assembly code from a given C program.</p>
  <p>I got stuck when trying to view the assembly code in Visual Studio Code. Basically I don't know which button to click or select in order to view assembly code when I already have the C program compiled (I believe it is already compiled based on my limit knowledge).</p>
  <p>Attached is a screen shot from the text book example that I tried to follow, and also the screen of my Visual Studio Code output. Could someone tell me which options to click on or select or anything I have to re-run or do in order to view the assembly code?</p>
  <p>This is the example from the book that I am following (basically I want to know how to generate the assembly code shown here at the bottom):</p>
  <p><a href="https://i.stack.imgur.com/iUDVi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iUDVi.jpg" alt="enter image description here" /></a></p>
  <p>And this is a screenshot of what I have so far in my Visual Studio Code program:
  <a href="https://i.stack.imgur.com/7HXvs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7HXvs.png" alt="enter image description here" /></a></p>
  <p>Thank you!</p>
  <p>I am actually getting this error if I just typed the code in the book:<br />
  <a href="https://i.stack.imgur.com/o5RQB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o5RQB.png" alt="enter image description here" /></a></p>