Intel 386 Computer Hardware User Manual


 
Intel386™ EX EMBEDDED MICROPROCESSOR USER’S MANUAL
E-8
SHRD = Shift right double
register/memory by
immediate
0 0 0 0 1 1 1 1 1 0 1 0 1 1 0 0 mod reg r/m
immed
8-bit data
3/7** 3/7**
register/memory by CL 0 0 0 0 1 1 1 1 1 0 1 0 1 1 0 1 mod reg r/m 3/7** 3/7**
AND = And
register to register 0 0 1 0 0 0 d w mod reg r/m 2 2
register to memory 0 0 1 0 0 0 0 w mod reg r/m 7** 7** b h
memory to register 0 0 1 0 0 0 1 w mod reg r/m 6* 6* b h
immediate to
register/memory
1 0 0 0 0 0 0 w mod 1 0 0 r/m immediate data
2/7* 2/7* b h
immediate to accumu-
lator (short form)
0 0 1 0 0 1 0 w immediate data
22
TEST= And function to flags, no result
register/memory
and register
1 0 0 0 0 1 0 w mod reg r/m
2/5* 2/5* b h
immediate data and
register/memory
1 1 1 1 0 1 1 w mod 0 0 0 r/m immediate data
2/5* 2/5* b h
immediate data and
accumulator (short
form)
1 0 1 0 1 0 0 w
immediate
data
22
OR = Or
register to register 0 0 0 0 1 0 d w mod reg r/m 2 2
register to memory 0 0 0 0 1 0 0 w mod reg r/m 7** 7** b h
memory to register 0 0 0 0 1 0 1 w mod reg r/m 6* 6* b h
immediate to
register/memory
1 0 0 0 0 0 0 w mod 0 0 1 r/m immediate data
2/7** 2/7** b h
immediate to accumu-
lator (short form)
0 0 0 0 1 1 0 w immediate data
22
XOR = Exclusive or
register to register 0 0 1 1 0 0 d w mod reg r/m 2 2
register to memory 0 0 1 1 0 0 0 w mod reg r/m 7** 7** b h
memory to register 0 0 1 1 0 0 1 w mod reg r/m 6* 6* b h
immediate to
register/memory
1 0 0 0 0 0 0 w mod 1 1 0 r/m immediate data
2/7** 2/7** b h
immediate to accumu-
lator (short form)
0 0 1 1 0 1 0 w immediate data
22
NOT= Invert
register/memory
1 1 1 1 0 1 1 w mod 0 1 0 r/m
2/6** 2/6** b h
Table E-1. Instruction Set Summary (Sheet 7 of 19)
Instruction Format
Clock Count Notes
Real
Ad-
dress
Mode
or
Virtual
8086
Mode
Pro-
tected
Virtual
Ad-
dress
Mode
Real
Ad-
dress
Mode
or
Virtual
8086
Mode
Pro-
tected
Virtual
Ad-
dress
Mode