INSTRUCTION SET OPCODES AND CLOCK CYCLES

Table D-4. Mnemonic Encoding Matrix (Right Half)

x8

x9

xA

xB

xC

xD

xE

xF

 

 

 

 

 

 

 

 

 

 

OR

OR

OR

OR

OR

OR

PUSH

 

 

b,f,r/m

w,f,r/m

b,t,r/m

w,t,r/m

b,i

w,i

CS

 

0x

 

 

SBB

SBB

SBB

SBB

SBB

SBB

PUSH

POP

 

b,f,r/m

w,f,r/m

b,t,r/m

w,t,r/m

b,i

w,i

DS

DS

1x

 

SUB

SUB

SUB

SUB

SUB

SUB

SEG

DAS

 

b,f,r/m

w,f,r/m

b,t,r/m

w,t,r/m

b,i

w,i

=CS

 

2x

 

 

CMP

CMP

CMP

CMP

CMP

CMP

SEG

AAS

 

b,f,r/m

w,f,r/m

b,t,r/m

w,t,r/m

b,i

w,i

=DS

 

3x

 

 

DEC

DEC

DEC

DEC

DEC

DEC

DEC

DEC

 

AX

CX

DX

BX

SP

BP

SI

DI

4x

 

POP

POP

POP

POP

POP

POP

POP

POP

 

AX

CX

DX

BX

SP

BP

SI

DI

5x

 

PUSH

IMUL

PUSH

IMUL

INS

INS

OUTS

OUTS

 

w,i

w,i

b,i

w,i

b

w

b

w

6x

 

JS

JNS

JP/

JNP/

JL/

JNL/

JLE/

JNLE/

 

 

 

JPE

JPO

JNGE

JGE

JNG

JG

7x

 

 

 

 

 

 

 

 

 

MOV

MOV

MOV

MOV

MOV

LEA

MOV

POP

 

b,f,r/m

w,f,r/m

b,t,r/m

w,t,r/m

sr,f,r/m

 

sr,t,r/m

r/m

8x

 

 

CBW

CWD

CALL

WAIT

PUSHF

POPF

SAHF

LAHF

 

 

 

L,D

 

 

 

 

 

9x

 

 

 

 

 

 

 

 

TEST

TEST

STOS

STOS

LODS

LODS

SCAS

SCAS

 

b,ia

w,ia

 

 

 

 

 

 

Ax

 

 

 

 

 

 

 

MOV

MOV

MOV

MOV

MOV

MOV

MOV

MOV

 

iAX

iCX

iDX

iBX

iSP

iBP

iSI

iDI

Bx

 

ENTER

LEAVE

RET

RET

INT

INT

INTO

IRET

 

 

 

l(i+SP)

l

type 3

(any)

 

 

Cx

 

 

 

 

 

ESC

ESC

ESC

ESC

ESC

ESC

ESC

ESC

 

0

1

2

3

4

5

6

7

Dx

 

CALL

JMP

JMP

JMP

IN

IN

OUT

OUT

 

 

 

 

 

 

 

 

 

Ex

 

 

 

 

 

 

 

 

 

CLC

STC

CLI

STI

CLS

STD

Grp2

Grp2

 

 

 

 

 

 

 

b,r/m

w,r/m

Fx

 

 

 

 

 

 

 

NOTE: Table D-5 defines abbreviations used in this matrix. Shading indicates reserved opcodes.

D-21

Page 394
Image 394
Intel 80C188XL, 80C186XL user manual Table D-4. Mnemonic Encoding Matrix Right Half