Saturday , 24 October 2020
Breaking News
how to add two numbers in assembly language

How to enter two numbers from keyboard and add them and print on screen in Assembly Language


Notice: Undefined index: tie_hide_meta in /home1/adnanonl/public_html/wp-content/themes/sahifa/framework/parts/meta-post.php on line 3

Notice: Trying to access array offset on value of type null in /home1/adnanonl/public_html/wp-content/themes/sahifa/framework/parts/meta-post.php on line 3
Spread the love

How to enter two numbers from keyboard and add them and print on screen in Assembly Language:-

 In this video, you will learn how to add two numbers which are given by user from keyboard and print on the screen using an emu8086 emulator. In this video first user enter one number which is store in al Register and after that, another number is entered from the user which is also stored in al register but the first value of al register transfer its data in bl register.

After that, we add (add bl, al) data and its result are stored in bl register. Finally, we move bl data in dl register and then we print the result on screen.

Download important Slides Link

https://bit.ly/3ln7Ylw

Leave a Reply

Your email address will not be published. Required fields are marked *