.MODEL SMALL
.STACK 64H
.DATA
V1 DB 5
V2 DB 4
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AL,V1
ADD AL,V2
AAA
MOV BL,AL
OR BL, 30H
MOV AH,02H
MOV DL, BL
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
.STACK 64H
.DATA
V1 DB 5
V2 DB 4
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AL,V1
ADD AL,V2
AAA
MOV BL,AL
OR BL, 30H
MOV AH,02H
MOV DL, BL
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
No comments:
Post a Comment