Intel 8086-2 Computer Hardware User Manual


 
8086
Table 2 Instruction Set Summary (Continued)
Mnemonicand
InstructionCode
Description
ARITHMETIC 76543210 76543210 76543210 76543210
ADD
e
Add
RegMemorywithRegistertoEither 000000dw modregrm
ImmediatetoRegisterMemory 100000sw mod000rm data dataifsw
e
01
ImmediatetoAccumulator 0000010w data dataifw
e
1
ADC
e
AddwithCarry
RegMemorywithRegistertoEither 000100dw modregrm
ImmediatetoRegisterMemory 100000sw mod010rm data dataifsw
e
01
ImmediatetoAccumulator 0001010w data dataifw
e
1
INC
e
Increment
RegisterMemory 1111111w mod000rm
Register 01000reg
AAA
e
ASCIIAdjustforAdd 00110111
BAA
e
DecimalAdjustforAdd 00100111
SUB
e
Subtract
RegMemoryandRegistertoEither 001010dw modregrm
ImmediatefromRegisterMemory 100000sw mod101rm data dataifsw
e
01
ImmediatefromAccumulator 0010110w data dataifw
e
1
SSB
e
SubtractwithBorrow
RegMemoryandRegistertoEither 000110dw modregrm
ImmediatefromRegisterMemory 100000sw mod011rm data dataifsw
e
01
ImmediatefromAccumulator 000111w data dataifw
e
1
DEC
e
Decrement
Registermemory 1111111w mod001rm
Register 01001 reg
NEG
e
Changesign 1111011w mod011 rm
CMP
e
Compare
RegisterMemoryandRegister 001110dw modregrm
ImmediatewithRegisterMemory 100000sw mod111rm data dataifsw
e
01
ImmediatewithAccumulator 0011110w data dataifw
e
1
AAS
e
ASCIIAdjustforSubtract 00111111
DAS
e
DecimalAdjustforSubtract 00101111
MUL
e
Multiply(Unsigned) 1111011w mod100rm
IMUL
e
IntegerMultiply(Signed) 1111011w mod101rm
AAM
e
ASCIIAdjustforMultiply 11010100 00001010
DIV
e
Divide(Unsigned) 1111011w mod110rm
IDIV
e
IntegerDivide(Signed) 1111011w mod111rm
AAD
e
ASCIIAdjustforDivide 11010101 00001010
CBW
e
ConvertBytetoWord 10011000
CWD
e
ConvertWordtoDoubleWord 10011001
Mnemonics
Intel 1978
27