Tuesday, July 26, 2011

My Book is almost on Amazon

You can find some information about the Assembly Language textbook by searching for "64 bit assembly language".  My book is number 7 in that list.  Amazon says is is unavailable but is available at CreateSpace.

I feel sure that Amazon will have details available very soon.  I hope it comes up with the "Look inside the book" option.  I think that is the way things work for CreateSpace books.

It's nice to be on Amazon.  I hope I get somewhat favorable reviews.  I will read all the reviews to learn more about what people prefer in a book.  If I can supply what people want, then the book will sell itself.

Monday, July 25, 2011

Chapter 3 slides now on asm.seyfarth.tv

I have completed the slides for Chapter 3 of the assembly language book.  I have updated the asm.seyfarth.tv web site to have links for the first 3 PDF files.

Sunday, July 24, 2011

No eBooks for Me

I have spent too many hours trying to get things in order for the Kindle.  I figured out how to get a nice HTML book using htlatex, but the mobi book creator screwed it up pretty bad.  I've also reviewed some software for cracking DRM.   It's not a pleasant prospect to work a week or two getting a few eBook choices available and having someone start giving the book away.

Sometimes it seems that you are swimming upstream and you might as will turn around and go with the flow.  CreateSpace makes it possible to print books fairly cheaply and perhaps I need to focus on printed books.  For the next edition I think I will choose bigger pages, since it was a little challenging fitting assembly code with comments in the 6.14 inch width.  Next time I will go for 7x10.   It will make it possible to produce higher quality.

I will make my slides next. I have 2 of the 19 chapters' slides prepared now.  It will probably take a day or two per chapter.  I would like to be done by August 24 when classes start.

Assembly Language Textbook Web Site Started

I have made a minimal web site for the assembly book at seyfarth.tv/asm.  The skeleton is there with a tiny bit of meat - I have links to download the PDF slides for the first 2 chapters along with a brief introduction to the book.

There will be no errata for a few more days - maybe.  I have made 1 sale, so I may start hearing about mistakes real soon now.  I expect to find many corrections during the fall semester and will hopefully incorporate them into an updated book in January.  I will probably spend some more time on graphics.  My schedule this summer was a little tight: publishing a book and preparing slides in about 3-4 months.

You can find my book easily at Amazon or Barnes and Noble.  You can also find the direct link at  CreateSpace using https://www.createspace.com/3651611.

Assembly Language Textbook


Introduction to 64 Bit Intel Assembly Language Programming

I have written the first version of my 64 bit Assembly Language text book for Intel and AMD CPUs. I will be teaching from the textbook this fall (2011) and by that time I will have slides for the book, errata and code at my web site at seyfarth.tv/asm.

The web site is not very functional today. I have replaced my main computer with a new Core i7 computer which I have used for testing code for the text book. The web site needs a little work...

I managed to get 20.5 GFLOPS on my double precision correlation computation which is a testament to the design of the Core i series. I used the AVX instructions which allow me to specify instructions which can perform 4 double precision operations at a time. These operations take more than 1 cycle, so it is a little surprising to me to achieve about 6 double precision results per cycle. The CPU is performing out-of-order execution pretty nicely. I did make some effort to make a lot of the instructions within the main loop independent of each other to allow the CPU to do its job, but given the complexity of x86-64 instruction decoding I find it to be pretty impressive.