8086
Table 2 Instruction Set Summary (Continued)
Mnemonicand
InstructionCode
Description
LOGIC 76543210 76543210 76543210 76543210
NOT
e
Invert 1111011w mod010rm
SHLSAL
e
ShiftLogicalArithmeticLeft 110100vw mod100rm
SHR
e
ShiftLogicalRight 110100vw mod101rm
SAR
e
ShiftArithmeticRight 110100vw mod111rm
ROL
e
RotateLeft 110100vw mod000rm
ROR
e
RotateRight 110100vw mod001rm
RCL
e
RotateThroughCarryFlagLeft 110100vw mod010rm
RCR
e
RotateThroughCarryRight 110100vw mod011rm
AND
e
And
RegMemoryandRegistertoEither 001000dw modregrm
ImmediatetoRegisterMemory 1000000w mod100rm data dataifw
e
1
ImmediatetoAccumulator 0010010w data dataifw
e
1
TEST
e
AndFunctiontoFlagsNoResult
RegisterMemoryandRegister 1000010w modregrm
ImmediateDataandRegisterMemory 1111011w mod000rm data dataifw
e
1
ImmediateDataandAccumulator 1010100w data dataifw
e
1
OR
e
Or
RegMemoryandRegistertoEither 000010dw modregrm
ImmediatetoRegisterMemory 1000000w mod001rm data dataifw
e
1
ImmediatetoAccumulator 0000110w data dataifw
e
1
XOR
e
Exclusiveor
RegMemoryandRegistertoEither 001100dw modregrm
ImmediatetoRegisterMemory 1000000w mod110rm data dataifw
e
1
ImmediatetoAccumulator 0011010w data dataifw
e
1
STRINGMANIPULATION
REP
e
Repeat 1111001z
MOVS
e
MoveByteWord 1010010w
CMPS
e
CompareByteWord 1010011w
SCAS
e
ScanByteWord 1010111w
LODS
e
LoadByteWdtoALAX 1010110w
STOS
e
StorByteWdfromALA 1010101w
CONTROLTRANSFER
CALL
e
Call
DirectwithinSegment 11101000 disp-low disp-high
IndirectwithinSegment 11111111 mod010rm
DirectIntersegment 10011010 offset-low offset-high
seg-low seg-high
IndirectIntersegment 11111111 mod011rm
Mnemonics
Intel 1978
28