hi everyone, i really have been interested in learning assembly and was wondering if there were any good books to do this , im not a newbe to programming just asm so complex material is not a problem... thanks
Decide where you want to use assembly. It is so tied up with the nitty-gritty of how the machine works that this is crucial. If you intend to use assembly in conjunction with a high level language, then an assembly book with a bias towards that language will do you a lot of good. You'll need to know all about how that language uses the stack, how it calls functions and passes parameters, and if applicable, how it handles OOP. Don't neglect manuals on how the language works.
If you are using assembler for hardware control, you need to know all about your machine's hardware.
And in either case you need to know about what facilities the operating system provides for the programmer. i.e., if in dos for pc, you need to know what all the interrupts do.
Do NOT get any book that hasn't got an appendix listing all the assembler instructions. Make sure the list is complete (it often isn't, even in very reputable books; neither of the books I have includes the full selection of shifts, rotates, and branches!). Make sure the op-code list includes the coding of the instructions, includes 32-bit instructions even if you are planning on real mode coding, and make sure it includes the cycles per instruction for different processors (but treat these numbers with caution).
Make sure you get something listing operating system calls that are relevant to you.
One book will not satisfy all needs. Search your public library, too. Assembler is not popular nowadays, and often public libraries have quite good books that are now hard to get hold of.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.