Addition of two 8-bit numbers

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

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

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

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

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Leave a Reply