APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds RSS Feeds











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
->
-> Book Review:The Art of Assembly Language - 2d Edition


The Art of Assembly Language - 2d Edition



Index by Subject

  • The Art of Assembly Language - 2d Edition
  • Randall Hyde
  • 1593272073



This is why I never get anything done. I had my whole week carefully laid out in front of me and then No Starch Press sent me a review copy of Randall Hyde's Art of Assembly Language (2d Edition).

I have no reason in the world to write anything in assembler. I haven't written anything in assembler in many, many years and I can't imagine that any circumstance would arise that would require me to dust off those skills. Assembly language is simply not important for anything I do now.

But I love it.

I've mentioned that love and HLA here previously (see HLA - The High Level Assembly Programming Language from 2005). In that post, I noted that it's the level of detail that captivates, along with the mental challenge. Writing in AL can be hard, but there's also a tremendous amount of satisfaction. I love it.

First things first. There is an immediate error in the book where it tells you how to download HLA. The links are wrong; what worked for me was http://web.mac.com/randyhyde/HighLevelAsm/index.html. There you can download binaries for Windows, Linux, Mac OS X and Free BSD. Under "Extras" you can also download the sample code from the book to save you some typing.

With that done, I dove right in. As I said, it's been a long, long time since I wrote an assembly language program for any real reason. I've forgotten a lot - I'm really not far from someone who never knew anything about this at all.

The beauty of this book and HLA is that the HLA compiler insulates the beginner from the drudgery and trickery of getting started from zero knowledge. Using HLA, you can actually start writing programs in a few minutes. The author explains that his intent is not that you continue using HLA forever - as you learn, you'll start dropping the HLA crutches and using real assembly code. HLA is a leaning tool, not a language you'll learn and use for years.

So you start out with a "Hello, World" program. With HLA assisting, that's very readable code:

program HelloWorld;
#include( "stdlib.hhf" )
begin HelloWorld;
 
    stdout.put( "Hello, World of Assembly Language", nl );
 
end HelloWorld;
 

There's not a single assembly language instruction there, and that's exactly the point: if he did start off with straight assembly, most newbies would be confused and bewildered - it would take many pages to explain what the code meant. The student is freed to experiment with real code but can use HLA constructs to handle to more difficult tasks like input and output.

I confess that's not how I learned. Almost all of my programs were simply hooked into higher level C code - it was the C code that provided the comfort routines like printf and did all the other heavy lifting. I also did some direct .COM programs on early Windows machines, but those didn't need any user interface. I think this HLA approach has a lot going for it.

For an experienced programmer, there is a lot of stuff you can skip right over. In fact, if you just want a refresher, you could probably just d/l the HLA and the examples and skip the book. But it never hurts to review, right?


Tony Lawrence 2009-05-03 Rating: 4.0

Amazon Order (or just read more about) The Art of Assembly Language - 2d Edition  from Amazon.com. Yes, I earn a small referral fee if you use that link to purchase the book.




If this page was useful to you, please help others find it:  





Comments?




More Articles by - Find me on Google+



Click here to add your comments
- no registration needed!


Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar

Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

I am a Kerio reseller. Articles here related to Kerio products reflect my honest opinion, but I do have an obvious interest in selling those products also.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

pavatar.jpg

This post tagged:

       - Books
       - Programming
       - Reviews















My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide



Buy Kerio from a dealer
who knows tech:
I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals



Click and enter your name and phone number to call me about Kerio® products right now (Flash required)