80386

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

INSTRUCTION

FORMAT

 

LOGIC (Continued)

 

 

Register to Memory

IOOtOOOOw I mod reg

r/ml

Memory to Register

I0010001w Imod reg

r/ml

Immediate to Register/Memory

I 1 OOOOOOw Imodl 00

r/ml immediate data

CLOCK COUNT

NOTES

RealReal

Address

Protected

Address

Protected

Mode or

Virtual

Mcdeor

Virtual

Virtual

Address

Virtual

Address

8086

Mode

8086

Mode

Mode

 

Mode

 

7

7

b

h

6

6

b

h

217

217

b

h

Immediate to Accumulator (Short Form)

TEST ~ And Function to Flags, No Result

Register/Memory and Register

Immediate Data and Register/Memory

Immediate Data and Accumulator

(Short Form)

OR ~ Or

Register to Register

Register to Memory

Memory to Register

Immediate to Register/Memory

Immediate to Accumulator (Short Form)

Ia 0 1 00 1 Ow Iimmediate data

I1000010w Imod reg

r/ml

I tlltOllw ImodOOO

r/ml immediate data

I10 1 0 1 DOw Iimmediate data

I00001 Odw I mod reg

r/ml

I0000100w Imod reg

r/ml

I0000 101 w ImOdreg

r/ml

I1 OOOOOOw ImodOOI r/ml immediate data I00 0 0110 w Iimmediate data

2

2

 

 

2/5

2/5

b

h

2/5

2/5

b

h

2

2

 

 

22

7

7

b

h

6

6

b

h

2/7

217

b

h

22

XOR = Exclusive Or

Register to Register

o 0 1 1 0 a d w I mod reg

r/ml

Register to Memory

0011 OOOw ImOdreg

r/ml

Memory to Register

0011001w

ImOdreg

r/ml

Immediate to Register/Memory

1 OOOOOOw

Imodll 0

r/ m Iimmediate data

Immediate to Accumulator (Short Form)

001101 Ow

Iimmediate data

NOT ~ Invert Reglster/Memory

1111011 w

ImodO 1 0

rim/

STRING MANIPULATION

 

 

 

CMPS ~ Compare Byte Word

I1010011 wi

 

INS ~ Input Byte/Word from OX Port

Ia 11 a 11 Ow I

I

LODS ~ Load Byte/Word to ALIAX/EAX I10 1 a 11 Ow

I

 

Clk

Count

Virtual

8086

Mode

t29

22

7

7

b

h

6

6

b

h

2/7

217

b

h

2

2

 

 

2/6

2/6

b

h

10

10

b

h

15

9','29"

b

h,m

5

5

b

h

MOVS ~ Move Byte Word

OUTS ~ Output Byte/Word to OX Port

SCAS ~ Scan Byte Word

STOS ~ Store Byte/Word from AL/AX/EX

XLAT ~ Translate String

REPEATED STRING MANIPULATION Repeated by Count in ex or ECX

REPE CMPS ~ Compare String (Find Non-Match)

I1010010wl

 

Ia 11 a 111 wi

I

I1010111 wi

 

I 1010101 wi

 

I 11010111

I

 

I 11110011

I 1010011 wi

 

t28

7

7

b

h

14

8'/28"

b

h,m

7

7

b

h

4

4

b

h

5

5

 

h

5+9n

5+9n

b

h

* If CPL ,;; IOPL

.* If CPL > IOPL

115

Page 176
Image 176
Intel 80386 manual Instruction Set Clock Count Summary, 115