title: Warning: end of file not at end of a line; newline inserted Assembley
body: <p>I was trying to implement Hello world program in Assembly, but there is some warning:<br>
  To implement I used </p>
  
  <pre><code>as -gstabs helloasm.s -o helloasm.o
  </code></pre>
  
  <p>The Warning:</p>
  
  <blockquote>
    <p>helloasm.s: Assembler messages:<br>
        helloasm.s: Warning: end of file not at end of a line; newline inserted</p>
  </blockquote>
  
  <p>There is code below: </p>
  
  <pre><code>.global _start
  .data
    message:.ascii "Hello World\n"
  .text
  _start:
    movq $1, %rax
    movq $1, %rdi
    movq $message, %rsi
    movq $13, %rdx
    syscall
    movq $60, %rax
    xorq %rdi, %rdi
    syscall
  </code></pre>
  
  <p>So, how can I resolve this warning?</p>