title: nasm - error: label or instruction expected at the start of line
body: <p>Hello I am very new to assembly(just started today) and ran into this problem when doing exactly what is said in <a href="https://www.youtube.com/watch?v=TR1PzQRayiQ&amp;feature=youtu.be" rel="nofollow">this tutorial</a>. I made an asm file with this text:</p>
  
  <pre><code>bits    16
  org     0x7c00
  jmp     Main
  
  :In=  si = string, ah = 0eh, al = char, Out= character screen
  Print:
  lodsb
  cmp     al, 0
  je      Done
  mov     ah, 0eh
  int     10h
  jmp     Print
  
  Done:
  ret
  
  Main
  mov     si, msg
  call Print
  
  cls
  hlt
  
  msg     db  "Hello World",0
  
  times 510 - ($-$$)      db      0
  
  dw      0xAA55
  </code></pre>
  
  <p>and in my folder with the asm file I have a copy of nasm and nasmpath, I also have a shortcut to bochs. what I am trying to do is convert it into a bin file. when I put this command:</p>
  
  <pre><code>nasm -f bin boot.asm -o boot.bin
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>boot.asm:5: error: label or instruction expected at the start of line
  </code></pre>
  
  <p>I am wondering if this is a bad tutorial or am I typing something wrong. also I would like to know what it means by "label or instruction".</p>