home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zoa / wp42 / chapter11 / fig11.1b.tif (.png) < prev    next >
Tagged Image File Format  |  1997-06-13  |  156KB  |  676x714  |  16-bit (19,747 colors)
Labels: bulletin board | dialog box | plant | reckoner | sky | windowpane
OCR: DF Memory DS 0 Ir lodsb Convert to uppercase IRI stosb I A (A) The copying and conversion of the third character in the array B The copying and conversion of the fourth character These two figures illustrate significant advan tage of using lods, stos for array and string processing. which that, like all string instructions, lods and stos au- advance their pointers. You could think of the step labelled Convert to upper case in cach figurc as sort of black box between lodsb and stosb Once lods has loaded source value into AI or AX, any RIOS of testing or conversion can be performed before stos stores the result to the destination string or ar ray This gives the lods stos pair unparalleled flexibiliry among the string instructions, albeit at a price in perfor mance. FIGURE 11.1 coniinued toma ...