inter80386

Table 8·1 80386 Instruction Set Clock Count Summary (Continued)

INSTRUCTION

FORMAT

 

ARITHMETIC (Continued)

 

 

DIV ~ Divide (Unsigned)

 

 

Accumulator by Register/Memory

I11 11011 w Imod 11 0

r/ml

Divisor-Byte

 

 

-Word

 

 

-Doubleword

 

 

IDIV ~ Integer Divide (Signed)

 

 

Accumulator By Register/Memory

I1111011 w Imod 111

r/ml

Divisor-Byte

 

 

-Word

 

 

-Doubleword

 

 

AAD ~ ASCII Adjust for Divide

I 11010101 I 00001010 I

AAM ~ ASCII Adjust for Multiply

I11010100 I 00001010 I

CBW = Convert Byte to Word

I 100110001

 

CWO ~ Convert Word to Double Word I10011001 I

 

LOGIC

 

 

Shift Rotate Instructions

 

 

Not Through Carry (ROL, ROR, SAL, SAR, SHL, and SHR)

 

Register/Memory by 1

11101 OOOw ImOdTTT

r/ml

RegisterlMemory by CL

11101001 w Imod TIT

r/ml

Register/Memory by Immediate Count

I11 OOOOOw Imod TIT

r/mlimmed 8·bitdata

Through Carry (RCL and RCR)

 

 

Register/Memory by 1

I1101 OOOw ImOdTIT

r/ml

RegisterlMemory by CL

I1101001 w Imod TIT

r/ml

RegisterlMemory by Immediate Count 11 1 00000 w I mod TIT r/ml immed B·bitdata

TTTInstruction

000ROL

001ROR

010RCL

011RCR

100SHL/SAL

101SHR

111SAR

SHLD ~ Shift Left Double

Register/Memory by Immediate

I00001111

I1 01 001 00 Imod reg

r/mlimmed S-bit data

RegisterlMemory by CL

I 00001111

I 10100101 ImOdreg

r/ml

SHRD ~ Shift Right Double

I00001111

 

 

Register/Memory by Immediate

I 10101100 ImOd reg

r/ml immed B·bitdata

RegisterlMemory by CL

I0000111 1 I 10101101 ImOd reg

r/ml

AND ~ And

 

 

 

Register to Register

I 001000 d w Imod reg r/ml

 

CLOCK COUNT

NOTES

RealReal

Address Protected Address Protected

Mode or Virtual Mode or Virtual Virtual Address Virtual Address

8086 Mode 8086 Mode

ModeMode

14/17

14/17

b,o

e,h

22/25

22/25

b,e

e,h

38/41

38/41

b,e

e,h

19/22

19/22

b,e

e,h

27/30

27/30

b,e

e,h

43/46

43/46

b,e

e,h

19 19

17 17

33

22

317 317b h

3/7 3/7b h

3/7 317b h

9/10 9/10 b h

9/10 9/10 b h

9/10 9/10 b h

3/7 3/7

317 3/7

3/7 317

3/7 317

22

114

Page 175
Image 175
Intel manual ·1 80386 Instruction Set Clock Count Summary, Doubleword