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.
This is the one stop educational site for all Electronic and Computer students. If you want to learn something new then we are here to help. We work on Microcontroller projects, Basic Electronics, Digital electronics, Computer projects and also in basic c/c++ programs.
Copyright©2012 electrofriends.com All Rights Reserved