Assembly Language Programming Tutorial – 51 – Creating a Adding Program

All references in this video came from:
Assembly Language for x86 Processors (6th Edition) http://goo.gl/n3ApG

Brought to you by http://www.rasmurtech.com/

The Rasmurtech Community: http://goo.gl/mt6OzH

Rasim from Rasmurtech.com give us another tutorial on Assembly Language Programming . In this tutorial Rasim shows us how to create a program that gets input from the user, then prints out the sum of the two.

Download:

emu8086: http://goo.gl/AXgw2u

Binary to Decimal to Hexadecimal Converter: http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html

ASCII TABLE: http://goo.gl/qDqYDw

Wiki Answsers: Explain 8086 flag register http://wiki.answers.com/Q/Explain_8086_flag_register

Google Plus: https://plus.google.com/112317437942092121047

Twitter: https://twitter.com/rasmurtech

Facebook: https://www.facebook.com/Rasmurtech‎

Instagram: http://instagram.com/rasmurtech

Comments

Cyber Girl says:

Sorry for my English, but..
Hey, guy! You’re THE BEST!!!!
I tried out everything with this emu 8086 to make a program (a+b=).. Everything that i found on forums… But only your program is working! Please, keep doing this!! Thank you soooo much you really saved me!!!!! 

Madhu Kashyap says:

Can someone explain this part please..
mov ds, ax
mov dx, offset message

hunar omer says:

what is the code to move to a new line (ENTER)

MrCuddlyable3 says:

He tells of inserting spaces to prevent the printed strings clumping up, but at 13:04 allows the result to appear attached to the second entered number – HINT a new line character would make sense here.If he had bothered to explain how subtracting 30h converts a character to a number it would be obvious that this program can’t allow any sum larger than 9. HINT: look at number characters in the ASCII table.If he had prepared better, or heard what he himself was saying about the need to terminate strings in a $ character, he wouldn’t have made the mistake in message4 (which at 12:46 he calls message5).”In the land of the blind, the one-eyed man is king” – seems appropriate, if harsh.

Alkesh Kothar says:

Your confusing me too much

rosemeire ayres says:

very nice !

Tom Mersy says:

this is talking about Assembly Language, right, am I right, yes, I am right, right?

Lou is says:

Hi Rasim, I find your tutorial very helpful. I’m trying to add digits from 0 up to 99. I also made a program like yours but I was only able to add single digits (0-9). Hope you can help me with my program. Thank you and God bless! :3

Renzo Pastores says:

how about adding two 3 digit numbers ?

omar moghazi says:

What if i want to add two numbers like 10 + 20 ?

Ayush Singh says:

diff. btw offset and segment message

Rasim Muratovic says:

Check out my new video  #programming  

Justine Roxas says:

Thank you very much! You’re video is very helpful for beginners like me!! Keep it up!

Dragon Sisiw says:

Well, just ran into this vid while trying to make my Calculator Program work. This is the same logic I thought wud work but im afraid there would be a problem once the sum exceeds 1 digit. Well once you enter 5+5 the answer wud be 10d and adding 30h wud display a symbol. still working on converting decimals to printable characters. Any ideas?

Joe Rod says:

What if I want to add a 2 or more digits number?

divyanshoo sinha says:

db in part 1:26 is a directive or a data type ? Coz in the previous lectures you said db is a directive . db should be in uppercase or lower case coz u said db should be in upper case in the previous lectures. Pls explain what is db????

Rajesh Kumar says:

nice sir,  its good effort to spread your knowledge sir.

Vijaya Prakash Kandel says:

Keep it you man. Its much needed.

Dragon Sisiw says:

Well, just ran into this vid while trying to make my Calculator Program work. This is the same logic I thought wud work but im afraid there would be a problem once the sum exceeds 1 digit. Well once you enter 5+5 the answer wud be 10d and adding 30h wud display a symbol. still working on converting decimals to printable characters. Any ideas?

divyanshoo sinha says:

Your website is not working ,pls do something abt it

Nicolas Fischöder says:

It would be gread if you at least explained in a little more detail, what the instructions are doing

Elio Decolli says:

The tutorial is not clear at all. You gotta explain what’s happening better and in more details

shahbaz ammad says:

i want a programme in assembly language, here is the Question.
Write an assembly language program to input one of the hex digits A-F, and display it on the next line in decimal.

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!