Friday, July 29, 2011

Slides for Chapters 5 and 6 Ready

I have uploaded PDF slides for "Chapter 5: Registers" and "Chapter 6: A Little Bit of Math" to http://www.seyfarth.tv/asm so now there are 6 of 19 chapters prepared.

Chapter 5 introduces how to move data between registers and memory.  It also introduces the conditional move instructions which can add efficiency for fairly short if/else sequences.  That is a poor substitute for branching statements which come later, but they can be more efficient.

Chapter 6 adds in integer mathematics instructions.  With those you can do quite a lot.  You still need branching and input/output statements to make real programs, but it takes some time to get enough things covered to write more realistic programs.

No comments: