How to become a good programmer in C language?

Question about Assembly programming language?

  • Ok to start this off im a programmer who knows many high level languages such as c# a little c++ XNA ect. Im trying to teach myself assembly. My teacher found a book and ive been reading it. I have a few questions for those who know the language. OK first question 1. Why do you hav to start programming at address 0100? They say to start from there but never explain why. Why cant you start at adress 0000 if there is one. second question 2. When doing a command suck as "mov dx,0200 does the letters dx stand for anything or r they just random variables people online use. Like can i make them any letters such as er or can they be longer than 2 letters like variable. third question 3. Im trying to do the basic hello world program to start of and get the flow of assembly but idk its like i cant get the rythm of assembly im getting better but its still kinda hard. How does the basic hello world program work i would like for some1 to copy some code to make the program in assembly and explain what each line does in a dumbed down way lol. What does jmp do? i know it jumps to a certain line but the guy in the video doesnt even seem to use that line he jumped to. Is jumping like calling a method in c++ or c#? ill post the links to the video at the end of this. Just give me tips on how to learn the language. Like i see the guy using "-a 0100" which he says tells it to start at a certain point and he also uses "-h 014b 0100" and "rex " and ''-n printchar.com" what does these wierd commands do it doesnt look like assembly ad if its not or is where do i learn them from and what r they called. What does "int 21" do? And how would you print out an entire string without having to declare each letter indivualy like in the second video ill post. Please explain theese codes to me and i apologize for bothering you with my problems. video #1- http://www.youtube.com/watch?v=t24yLkrjVKU&feature=related video #2- http://www.youtube.com/watch?v=9Qn84QxX-zs&feature=related and o yay forgot to ask how does assembly variables work. Its been my dream since ive become a programmer to learn this language so please help ill do anything to learn this wonderful language and thx. :)

  • Answer:

    That's a lot to go through. I have no intention of watching the videos, but I will tell you what int21 does. INT21h is a software interrupt that invoke the MS-DOS API, calling the function in the AH register. For example calling int21 with 0 in AH terminates the program.

Kevin at Yahoo! Answers Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.