Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Some assembly required : assembly language programming with the AVR microcontroller
Margush T., CRC Press, Inc., Boca Raton, FL, 2011. 643 pp. Type: Book (978-1-439820-64-3)
Date Reviewed: Jun 1 2012

“Why study assembly language?” asks the author. Modern compilers for high-level programming languages like C++ or Java generate extremely efficient code. Hardware drivers, real-time operating systems, computer games, and embedded systems are no longer written in assembly. Why study a cumbersome, outdated, and hardware-dependent programming language? Because of its educational value, argues the author. Assembly programming can give insight into the architectural details of a computer processor and its peripherals, insight that a high-level language cannot teach. Assembly language is one of the finest tools to study computer architecture. And, I would add, writing assembly code for micro-controllers gives programmers the special pleasure of ingenious tinkering that programming for our modern touch screen and tablet computers does not to offer. But perhaps I am just a romantic.

The book contains 14 logical chapters, covering all important aspects of assembling programming, from logical operations and control structures to data representation, stacks (and how they can be used for making function calls), interrupt handling, and external device communication.

Assembly languages are programming tools to generate byte sequences representing machine instructions and data, so they are hardware dependent. The author had to decide on a specific machine and language to be used in the book, and chose a family of 8-bit micro-controllers produced by the Atmel Corporation. The book makes reference to an inexpensive evaluation board for these micro-controllers, available by mail order. The layout of the board changed since the printing of the book. I was not able to get my hardware up and running offhand, and needed to seek further help from the Internet. Alternatively, the numerous assembly language examples and exercises can also be coded, executed, and debugged on a PC with a software simulator that can be downloaded and used for free. All of this is explained in the book.

The author had many years of teaching experience as a university professor, and that experience is reflected in the book. Well written, nicely structured, and didactically elaborate, it leaves little to be desired. Perhaps a few more illustrations would have been helpful. I recommend this book to computer science students in particular. Assembly languages might not be in vogue in these times of easier alternatives, but it was never so easy to learn them, thanks to this book. Unfortunately, the author passed away since the publication of the book. Hopefully, there will be a worthy follower who keeps this fine work up to date for upcoming editions.

Reviewer:  Klaus Galensa Review #: CR140221 (1210-0992)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Macro And Assembly Languages (D.3.2 ... )
 
 
Microprocessor/ Microcomputer Applications (C.3 ... )
 
 
Reference (A.2 )
 
Would you recommend this review?
yes
no
Other reviews under "Macro And Assembly Languages": Date
Assembler for COBOL programmers: MVS, VM
Murphy H., McGraw-Hill, Inc., New York, NY, 1991. Type: Book (9780070441293)
Dec 1 1991
High-level programmer’s guide to the 68000
McCabe F., Prentice Hall International (UK) Ltd., Hertfordshire, UK, 1992. Type: Book (9780133880342)
Oct 1 1992
Computer organization and assembly language programming for the VAX
Schneider G., Davis R., Mertz T., John Wiley & Sons, Inc., New York, NY, 1987. Type: Book (9789780471838500)
Mar 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy