Tuesday 7 January 2014

Addition of two numbers(user's choice)

.A    <start address>
MOV AX,@3000  (moving content at 3000 to Ax register)
MOV BX,@3002  (moving content at 3002 to Bx register)
ADD AX,BX          (ADD value at BX with AX register)
INT 03                   (termination)

No comments:

Post a Comment