ASM program to perform addition of two BCD numbers

Sunday, June 3rd, 2012

Aim: – To write an assembly language program for addition of two BCD numbers.

1
2
3
4
5
6
7
8
MOV AL, A
ADD AL, B
DAA
MOV R, AL
MOV AL, 00
ADC AL , 00
MOV R+1, AL 
END

Result: Addition of two BCD numbers is obtained.

Avatar of chitra

Author Name :
chitra

Total : 0 Comment


Leave a Reply

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

Free email signup

Email: