A-9
80C186 INSTRUCTION SET ADDITIONS AND EXTENSIONS
A.2.2 Arithmetic Instructions
IMUL destination, source, data
IMUL (integer immediate multiply, signed) allows a value to be multiplied by an immediate op-
erand. IMUL requires three operands. The first, destination, is the register where the result will
be placed. The second, source, is the effective address of the multiplier. The source may be the
same register as the destination, another register or a memory location. The third, data, is an im-
mediate value used as the multiplicand. The data operand may be a byte or word. If data is a byte,
it is sign extended to 16 bits. Only the lower 16 bits of the result are saved. The result must be
placed in a general-purpose register.
A.2.3 Bit Manipulation Instructions
This section describes the eight enhanced bit-manipulation instructions.
A.2.3.1 Shift Instructions
SAL destination, count
SAL (immediate shift arithmetic left) shifts the destination operand left by an immediate value.
SAL has two operands. The first, destination, is the effective address to be shifted. The second,
count, is an immediate byte value representing the number of shifts to be made. The CPU will
AND count with 1FH before shifting, to allow no more than 32 shifts. Zeros shift in on the right.
SHL destination, count
SHL (immediate shift logical left) is physically the same instruction as SAL (immediate shift
arithmetic left).
SAR destination, count
SAR (immediate shift arithmetic right) shifts the destination operand right by an immediate val-
ue. SAL has two operands. The first, destination, is the effective address to be shifted. The sec-
ond, count, is an immediate byte value representing the number of shifts to be made. The CPU
will AND count with 1FH before shifting, to allow no more than 32 shifts. The value of the orig-
inal sign bit shifts into the most-significant bit to preserve the initial sign.
SHR destination, count
SHR (immediate shift logical right) is physically the same instruction as SAR (immediate shift
arithmetic right).
Содержание 80C186EA
Страница 1: ...80C186EA 80C188EA Microprocessor User s Manual...
Страница 2: ...80C186EA 80C188EA Microprocessor User s Manual 1995...
Страница 19: ......
Страница 20: ...1 Introduction...
Страница 21: ......
Страница 28: ...2 Overview of the 80C186 Family Architecture...
Страница 29: ......
Страница 79: ......
Страница 80: ...3 Bus Interface Unit...
Страница 81: ......
Страница 129: ......
Страница 130: ...4 Peripheral Control Block...
Страница 131: ......
Страница 139: ......
Страница 140: ...5 ClockGenerationand Power Management...
Страница 141: ......
Страница 165: ......
Страница 166: ...6 Chip Select Unit...
Страница 167: ......
Страница 190: ...7 Refresh Control Unit...
Страница 191: ......
Страница 205: ......
Страница 206: ...8 Interrupt Control Unit...
Страница 207: ......
Страница 239: ...INTERRUPT CONTROL UNIT 8 32...
Страница 240: ...9 Timer Counter Unit...
Страница 241: ......
Страница 265: ......
Страница 266: ...10 Direct Memory Access Unit...
Страница 267: ......
Страница 295: ...DIRECT MEMORY ACCESS UNIT 10 28...
Страница 296: ...11 Math Coprocessing...
Страница 297: ......
Страница 314: ...12 ONCE Mode...
Страница 315: ......
Страница 318: ...A 80C186 Instruction Set Additions and Extensions...
Страница 319: ......
Страница 330: ...B Input Synchronization...
Страница 331: ......
Страница 334: ...C Instruction Set Descriptions...
Страница 335: ......
Страница 383: ...INSTRUCTION SET DESCRIPTIONS C 48...
Страница 384: ...D Instruction Set Opcodes and Clock Cycles...
Страница 385: ......
Страница 408: ...Index...
Страница 409: ......