Addition of two 16-bit numbers

Saturday, June 2nd, 2012

Aim: – To write an assembly language program for Addition of two 16-bit numbers.

1
2
3
4
5
6
7
		MOV AX, FIRST
		ADD AX, SECOND
             MOV SUM, AX
             MOV AX, 00
             ADC AX, 00
		MOV SUM+2, AX
             END

Result: Addition of two 16-bit numbers is obtained.

Avatar of chitra

Author Name :
chitra

Total : 1 Comment


One Response to “Addition of two 16-bit numbers”

  1. pramod yadav says:

    E-books

Leave a Reply

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup

Email: