Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Good Book to learn Assembly

Status
Not open for further replies.

SSS723

Programmer
Jun 28, 2003
3
CH
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.
 
Thanks Alot il start reading it right away
 
Thanks for the response lonehill, i think im getting on quite well with Art of Assembly. I have writen a couple of programs as of now :D thansk again
 
Assembly Language for Intel Based Computers 4th Edition by Kip R. Irvine is probably the best book on this planet to learn the language.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top