Need serious assembly help
I have been trying to learn assembly for a few years now. I get to do a "Hello, World" program but never further. I find it so hard. Is anyone able to point me to a place or maybe even themselves, teach me some? I have prior programming experice mainly in python. So i am not completel开发者_如何学Cy unfamiliar with programming.
I have used this book with great success, starts from the beginning, and works through to more complex topics: Assembly Language Step-by-Step
It is much faster to learn assembly language if you pair it with a debugger, it really did made me understand how values exchanges with registers, memory addresses, and how processors work under the hood, every step of the trace modifies the state of the system, i think that's one of the shortcuts to learning it, i suggest you choose the more graphical ones so you can easily visualize whats happening may it be 16, 32, or 64 bits.
Maybe start with comparing it to python, since that is what you are familar with. This link brings you to a site that compares programming languages. If you go to "99 Bottles of Beer" it shows the program in multiple languages which allows you to compare the python one with the assembler one to make links that can help you later. Other than that I would recommend looking up examples of simple programs to start off with and then going through them and making changes so you understand why and how it works. Then after that they are sites that release programming challenge questions and that allows you to try out new programs that you wouldn't have otherwise thought to try.
Start with learning C. From C to assembly language is a small step (maybe not so small, but a lot of statements can be translated 1-to-1), and probably you will find that you do not need assembly anyway.
You might find some help in these popular questions:
Learning assembly
Resources for learning ARM assembly
精彩评论