Tuesday 7 January 2014

Multiplication of two numbers

.A  <start address>        (intialisation)
MOV AX,@3000          (move content at 3000 to AX register)
MOV BX,@3002          (move content at 3002 to BX register)
MUL BX                       (multiply the value at BX with AX register,result being stored in AX)
INT 03                           (termination)

No comments:

Post a Comment