In the name of God
......................................
Hi this is my code . i want to add 2 digits and then print them on screen :
what's wrong :
title myprog
.model small
.stack
.data
num1 db 12
num2 db 13
.code
start :
mov ax,@data
mov ds,ax ; data segment
mov ax,num1 ;ax = num1
add ax,num2 ;ax =ax+num2
mov dx,offset ax ;moving offset of ax to dx for printing
mov ah,09h ;calling 9th service
int 21h ;print
mov ax , 4c00h ;exit code
int 21h
end start