I started a book on assembly, but it's a bit old and I wasn't able to assemble the fist program :s. Here's the code:
What changes would need to be made for this program to work? Thank you.
Code:
.MODEL SMALL
.STACK 64
.DATA
DATA1 DB 52H
DATA2 DB 29H
SUM DB ?
.CODE
MAIN PROC FAR
MOV AL,DATA
MOV DS,AL
MOV AL,DATA1
MOV BL,DATA2
ADD AL,BL
MOV SUM,AL
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN