title: Nasm error; undefined labels
body: <p>This period of time I am trying to learn assembly. I used the ms-dos "debug" command to create simple programs but now I want to make large programs. I downloaded nasm and tried to assemble the following code:</p>
  
  <pre><code>.model small
  .code
      mov ax, bx
  </code></pre>
  
  <p>But in the labels .model and .code it says that they ar undefined. I tried this again in a couple of other assemblers and the same thing has happened. Can anyone help me with this problem?
  I am using Windows 10.</p>