Friday , 3 July 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 /home/adnanonl/public_html/wp-content/themes/sahifa/framework/parts/meta-post.php on line 3

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.

Leave a Reply

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


Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/adnanonl/public_html/wp-includes/functions.php on line 4609