80386

Table 8-1 80386 Instructlon Set CIockCount S ummary (Contlnued)

 

 

 

 

 

 

 

 

CLOCK COUNT

NOTES

 

 

 

 

 

 

 

 

Real

 

Real

 

INSTRUCTION

 

FORMAT

 

 

 

 

Address

Protected

Address

Protected

 

 

 

 

 

 

 

 

Mode or

Virtual

Mode or

Virtual

 

 

 

 

 

 

 

 

Virtual

Address

Virtual

Address

 

 

 

 

 

 

 

 

8086

Mode

8086

Mode

 

 

 

 

 

 

 

 

Mode

 

Mode

 

ARITHMETIC (Continued)

 

 

 

 

 

 

 

 

 

 

 

Register from Memory

I00101 DOw ImOdreg

 

r/ml

7

7

b

h

Memory from Register

I0010101w ImOdreg

 

rIm]

6

6

b

h

Immediate from Register/Memory

I 100000sw ImOdl01

rim] immediate data

217

217

b

h

Immediate from Accumulator (short form)

I0010t10wl

immediate data

2

2

 

 

SSS = Subtract with Borrow

 

 

 

 

 

 

 

 

 

 

 

Register from Register

I00011 Odw ImOdreg

 

r/ml

2

2

 

 

 

I

0001 1 00 w

I

 

rIm]

7

7

b

h

Register from Memory

 

 

mod reg

 

Memory from Register

I

 

0001 1 01 w Imod feg

 

rIm]

6

6

b

h

Immediate from Register/Memory

I

 

1 000 a 0 5 W Imod a1 1

rIm] immediate data

217

217

b

h

Immediate from Accumulator (short form)

10001110wl

immediate data

2

2

 

 

DEC = Decrement

 

 

 

 

 

 

 

 

 

 

 

Register/Memory

I 1111111Wlreg001

 

r/ml

2/6

2/6

b

h

Register (short form)

101001

regl

 

 

2

2

 

 

CMP ~ Compare

 

 

 

 

 

 

 

 

 

 

 

Register with Register

 

 

o0 1 1 1 0 d w I mod reg

 

r/ml

2

2

 

 

Memory with Register

 

 

00111 OOw ImOdreg

 

r/ml

5

5

b

h

Register with Memory

 

 

0011101w ImOdreg

 

r/ml

6

6

b

h

Immediate with RegisterlMemory

 

 

1 00000 s w I mod 1 1 1

r/ml immediate data

2/5

2/5

b

h

Immediate with Accumulator (short form)

 

 

001111 Ow I

immediate data

2

2

 

 

NEG ~ Change Sign

I1 1 1 1 01 1 w I mod 0 1 1

r/ml

2/6

2/6

b

h

AAA ~ ASCII Adjust for Add

I00110111

I

 

 

4

4

 

 

AAS ~ ASCII Adjust for Subtract

L00 111111J

 

 

4

4

 

 

DAA ~ Decimal Adjust for Add

I 00100111

I

 

 

4

4

 

 

DAS = DeCimal Adjust for Subtract

I 00101111 I

 

 

4

4

 

 

MUL ~ Multiply (unsigned)

 

 

 

 

 

 

 

 

 

 

 

Accumulator with RegisterlMemory

I 1111011 w ImOd 100

r/ml

 

 

 

 

Multiplier-Byte

 

 

 

 

 

 

 

9-14/12-17

9-14/12-17

b, d

d, h

-Word

 

 

 

 

 

 

 

9-22/12-25

9-22/12-25

b, d

d, h

-Doubleword

 

 

 

 

 

 

 

9-38/12-41

9-38/12-4f

b, d

d, h

IMUL = Integer Multiply (signed)

I1111011 w ImOd 1 00

 

 

 

 

 

Accumulator with RegisterlMemory

r/ml

I 9-14/12-17

9-14/12-17

b,d

d, h

Multiplier-Byte

 

 

 

 

 

 

 

-Word

 

 

 

 

 

 

 

9-22/12-25

9-22/12-25

b,d

d, h

-Doubleword

 

 

 

 

 

 

 

9-38/12-41

9-38/12-41

b,d

d, h

Register with Register IMemory

I 00001111

I 10101111 Imod reg r/ml

I

 

 

 

-Word

 

 

 

 

 

 

 

9-22/12-25

9-22/12-25

b, d

d, h

-Ooubleword

 

 

 

 

 

 

 

9-38/12-41

9-38/12-41

b,d

d, h

RegisterlMemory with Immediate to Register I 01 1010 s 1 Imod reg

 

r/ml immediate data

 

 

 

 

-Word

 

 

 

 

 

 

 

9-22/12-25

9-22/12-25

b, d

d, h

-Doubleword

 

 

 

 

 

 

 

9-38/12-41

9-38/12-41

b, d

d, h

113

Page 174
Image 174
Intel 80386 manual Instructlon Set CIockCount S ummary Contlnued, RIm