title: Add 2 numbers in assembly language and print the result
body: <p>need help, how to add two numbers and then print the result here is my code</p>
  
  <pre><code>    .MODEL SMALL
      .STACK 200H
      .DATA
  NUM1 DB 12
  NUM2 DB 3
  VAL  DB ?
  MSG1 DB "The sum is : $"
  
      .CODE
  BEGIN PROC 
        MOV AX, @DATA
        MOV DS, AX
  
        MOV AL, NUM1
        ADD AL, NUM2
        MOV VAL, AL
  
  
  
        LEA DX, MSG1
        MOV AH, 9
        INT 21H
  
  
        MOV AH, 2
        MOV DL, VAL
        INT 21H
  
        MOV AX, 4C00H
        INT 21H
  BEGIN ENDP
        END BEGIN
  </code></pre>
  
  <p>I got an output that says </p>
  
  <pre><code>The sum is 0 
  </code></pre>
  
  <p>What is the error to my code?</p>