title: what's wrong with my code in assembly?
body: <p>I try to write a program that asks the user for his name and greets the user with his name. The error is comma, colon or end of line expected. How can I correct this? I can't figure out where I'm gonna make corrections.</p>
  
  <pre><code>%include "asm_io.inc"
  
  segment .data
   MES DB 10,13,'ENTER A STRING:$'
   BUF DB 255,256, DUP, (0)
   MES1 DB 10,13,'HELLO  $'
  
  segment .text
  global _asm_main
  _asm_main:
  
  enter 0,0
  pusha
  
         MOV AX,DATA
         MOV DS,AX                 
         MOV AH,09H                
  
         LEA DX,MES
         INT 21H
  
         MOV AH,0aH                
         LEA DX,BUF
         INT 21H
  
         MOV AH,09H                
         LEA DX,buf
         INT 21H
  
         LEA SI,BUF              
  
         MOV AX,0
         MOV AL,BYTE PTR [SI]
         ADD SI,AX
         MOV BYTE PTR [SI+1],'$' 
  
  
         MOV AH,09H
         LEA DX,BUF+2
         INT 21H
  
         MOV AX,4C00H
         INT 21H
  
         popa
  
  mov ax, 0
  leave
  ret
  </code></pre>