home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zenasmlg / rtf / chapter9 / fig9.4.tif (.png) < prev    next >
Tagged Image File Format  |  1997-06-18  |  94KB  |  796x505  |  16-bit (13,362 colors)
Labels: bulletin board | cell phone | dialog box | monitor | sky
OCR: multiplies AX viewed as an unsigncd valuc by Carry Hlag Operand (general- purpose register Or memory variable) SHL/SAL Operand (general purpose Carry Flag register or variable SHR FIGURE 9.4 The shl (also known as sal) and shr instructions shift the bits in the operand to the left and right, respectively, copying the bit shifted out to CF and shifting 3 ( bit into the operand. This figure illustrates a 16. -bit operation: 8-bit operands ca11 be shifted as well. multiplics rvariable shified