home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zoa / wp42 / chapter11 / fig11.13b.tif (.png) < prev    next >
Tagged Image File Format  |  1997-06-13  |  207KB  |  730x813  |  16-bit (19,426 colors)
Labels: book | box | bulletin board | cabinet | crt screen | dialog box | monitor | plant | poster | reckoner | rock | shelf | sky | waterfall
OCR: Memory Start of string 10301 be soarchod 10302 Once the string length 1030 and the location of the 10304 pua of the string are 10305 known every byte 10306 (except the terminating zero) from the end of 10307 the string back through 10308 and including the last 10309 non- -blank character or Last non-blank every byte in the string 1030A character if the entire string IS 1030B 1030C blank) must be read again 1030D 1030E FIGURE 11.13 continued *** Listing 11-16 ** Finds the last -uou blank charac ter . str ing us ing REPNZ SCASE find the end of the ing and then us i ing REPZ SCASW the end of the string to find the last non b Lank charac ter TestString label hyte This test string with blanks. Finds the last non- blank charac ter in the specified zero term inated string. Input DS:SI zero- termi ...