home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zenasmlg / rtf / chapter13 / fig13.9.tif (.png) < prev   
Tagged Image File Format  |  1997-06-18  |  101KB  |  708x532  |  16-bit (13,883 colors)
Labels: bulletin board | crt screen | dialog box | sky | trade name | window
OCR: mov ah. mov ah. imp short CheckYDone Branch back to ah,ah Branch sub ah,ah the calling code Branch back to the calling code FIGURE 13.9 In the code mov ah,1 jmp short CheckYDone CheckYNo: sub ah,ah CheckYDone jmp short CheckYDone does nothing but waste cycles. as unconditionally branches to a branch (A) Re placing jmp short CheckYDone with ret n0t only elimi nates branch but also saves byte ChsckYDone 1100