Convert figure images to markdown

This commit is contained in:
James Gregory 2013-12-31 07:56:10 +11:00
commit 77a95ec319
115 changed files with 218 additions and 403 deletions

View file

@ -123,8 +123,7 @@ and using the resulting value to index into the 64K table, adding in the
to perform all word-counting tasks for a pair of bytes. Three
instructions, no branches—pretty nearly perfect code.
![](images/16-01.jpg)\
**Figure 16.1**  *The two potential word count locations.*
![**Figure 16.1**  *The two potential word count locations.*](images/16-01.jpg)
One detail remains to be attended to: setting the Carry flag for next
time if the last byte was a non-separator. David does this in a bizarre
@ -136,8 +135,7 @@ masked off before being added to the total count, so David is
essentially using different parts of the count variables for different
purposes (counting, and setting the Carry flag).
![](images/16-02.jpg)\
**Figure 16.2**  *Looking up a word count status.*
![**Figure 16.2**  *Looking up a word count status.*](images/16-02.jpg)
There are a number of other interesting details in David's code,
including the unrolling of the loop 64 times, so that 256 bytes in a row