home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zenasmlg / rtf / chapter11 / fig11.6.tif (.png) < prev    next >
Tagged Image File Format  |  1997-06-18  |  159KB  |  734x617  |  16-bit (21,352 colors)
Labels: book | box | bulletin board | reckoner | shelf | sky | slide projector
OCR: Memory Next word AM would like to 20000 Next byte we access with lodsw 20001 would like to (address 20005) access with 20002 00 lodsb 20003 01 (address 20006) DF 20004 02 20005 03 DS 2000 2000G 04 2000 05 000 20008 20009 Current byto we would access with lodsb (address 20007 FIGURE 11.6 After lodsb is executed with DF ser t 1 (causing SItO decrement the address of the next byte we want to access with lodsb and the address of the next word we would want to access with lodsw are not the same This figure shows that after reading the byte at 2000:0007 the next bytc WC would want to access is at 2000 :0006 whereas the next word we would access a 2000:0005. (Reading the word a 2000:0006 gets the byte rcad by the initial lodsb the byte 2000:0007 again. along with the hyte a 2000:0006. What we wan ...