8088/8086 Instruction 2
8088/8086 Instruction 2
8088/8086 Instruction 2
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
SAR Destination, CountBit Manipulation <strong>Instruction</strong>s— Right shift destination bits; the number of bits shifted is given by operand Count— The LSB of the destination is shifted into CF and the MSB of the destination remiansthe same— Operand Count can be either an immediate data or register CL— Destination can be a register or a memory location— It modifies flags: CF PF SF ZFDestinationCFMSBLSB9-9 ROL Destination, CountBit Manipulation <strong>Instruction</strong>s— Left shift destination bits; the number of bits shifted is given by operand Count— The MSB of the destination is shifted into CF, it also goes to the LSB of the destination— Operand Count can be either an immediate data or register CL— Destination can be a register or a memory location— It modifies flags: CF OF ROR Destination, CountCFDestination— Right shift destination bits; the number of bits shifted is given by operand Count— The LSB of the destination is shifted into CF, it also goes to the MSB of the destination— Operand Count can be either an immediate data or register CL— Destination can be a register or a memory location— It modifies flags: CF OFMSBLSBMSBDestinationLSBCF9-105