Intel 80C186XL Instruction Set Opcodes And Clock Cycles, Bytes 3–6, ASM-86Instruction Format

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 387
Image 387
Manual background

INSTRUCTION SET OPCODES AND CLOCK CYCLES

Table D-3. Machine Instruction Decoding Guide (Continued)

 

Byte 1

Byte 2

Bytes 3–6

 

ASM-86 Instruction Format

 

 

 

Hex

Binary

 

 

 

 

 

 

 

 

 

 

 

87

1000 0111

mod reg r/m

(disp-lo),(disp-hi)

xchg

reg16,reg16/mem16

 

 

 

 

 

 

88

1000 0100

mod reg r/m

(disp-lo),(disp-hi)

mov

reg8/mem8,reg8

 

 

 

 

 

 

89

1000 1001

mod reg r/m

(disp-lo),(disp-hi)

mov

reg16/mem16,reg16

 

 

 

 

 

 

8A

1000 1010

mod reg r/m

(disp-lo),(disp-hi)

mov

reg8,reg8/mem8

 

 

 

 

 

 

8B

1000 1011

mod reg r/m

(disp-lo),(disp-hi)

mov

reg16,reg16/mem16

 

 

 

 

 

 

8C

1000 1100

mod OSR r/m

(disp-lo),(disp-hi)

mov

reg16/mem16,SEGREG

 

 

 

 

 

 

 

 

mod 1 - r/m

 

 

 

 

 

 

 

 

8D

1000 1101

mod reg r/m

(disp-lo),(disp-hi)

lea

reg16,mem16

 

 

 

 

 

 

8E

1000 1110

mod OSR r/m

(disp-lo),(disp-hi)

mov

SEGREG,reg16/mem16

 

 

 

 

 

 

 

 

mod 1 - r/m

 

 

 

 

 

 

 

 

8F

1000 1111

 

 

pop

mem16

 

 

 

 

 

 

90

1001 0000

 

 

nop

(xchg AX,AX)

 

 

 

 

 

 

91

1001 0001

 

 

xchg

AX,CX

 

 

 

 

 

 

92

1001 0010

 

 

xchg

AX,DX

 

 

 

 

 

 

93

1001 0011

 

 

xchg

AX,BX

 

 

 

 

 

 

94

1001 0100

 

 

xchg

AX,SP

 

 

 

 

 

 

95

1001 0101

 

 

xchg

AX,BP

 

 

 

 

 

 

96

1001 0110

 

 

xchg

AX,SI

 

 

 

 

 

 

97

1001 0111

 

 

xchg

AX,DI

 

 

 

 

 

 

98

1001 1000

 

 

cbw

 

 

 

 

 

 

 

99

1001 1001

 

 

cwd

 

 

 

 

 

 

 

9A

1001 1010

disp-lo

disp-hi,seg-lo,seg-hi

call

far-proc

 

 

 

 

 

 

9B

1001 1011

 

 

wait

 

 

 

 

 

 

 

9C

1001 1100

 

 

pushf

 

 

 

 

 

 

 

9D

1001 1101

 

 

popf

 

 

 

 

 

 

 

9E

1001 1110

 

 

sahf

 

 

 

 

 

 

 

9F

1001 1111

 

 

lahf

 

 

 

 

 

 

 

A0

1010 0000

addr-lo

addr-hi

mov

AL,mem8

 

 

 

 

 

 

A1

1010 0001

addr-lo

addr-hi

mov

AX,mem16

 

 

 

 

 

 

A2

1010 0010

addr-lo

addr-hi

mov

mem8,AL

 

 

 

 

 

 

A3

1010 0011

addr-lo

addr-hi

mov

mem16,AL

 

 

 

 

 

 

A4

1010 0100

 

 

movs

dest-str8,src-str8

 

 

 

 

 

 

A5

1010 0101

 

 

movs

dest-str16,src-str16

 

 

 

 

 

 

A6

1010 0110

 

 

cmps

dest-str8,src-str8

 

 

 

 

 

 

A7

1010 0111

 

 

cmps

dest-str16,src-str16

 

 

 

 

 

 

A8

1010 1000

data-8

 

test

AL,immed8

 

 

 

 

 

 

A9

1010 1001

data-lo

data-hi

test

AX,immed16

 

 

 

 

 

 

D-14

Page 387
Image 387
Intel 80C186XL, 80C188XL Instruction Set Opcodes And Clock Cycles, Bytes 3–6, ASM-86Instruction Format, Binary