Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
info / Pentium2.pdf
Скачиваний:
26
Добавлен:
16.04.2013
Размер:
4.09 Mб
Скачать

OPCODE MAP

A.5.7. Escape Opcodes with DE as First Byte

Tables A-6 and A-13 contain the opcodes maps for the escape instruction opcodes that begin with DEH. Table A-6 shows the opcode map if the accompanying ModR/M byte within the range of 00H through BFH. Here, the value of bits 5, 4, and 3 (the nnn field in Figure A-1) selects the instruction.

Table A-16. DE Opcode Map When ModR/M Byte is Within 00H to BFH1

nnn Field of ModR/M Byte (see Figure A-1)

000

001

010

011

100

101

110

111

 

 

 

 

 

 

 

 

FIADD

FIMUL

FICOM

FICOMP

FISUB

FISUBR

FIDIV

FIDIVR

word-integer

word-integer

word-integer

word-integer

word-integer

word-integer

word-integer

word-integer

 

 

 

 

 

 

 

 

NOTE:

1.All blanks in the opcode map are reserved and should not be used. Do not depend on the operation of these undefined opcodes.

Table A-13 shows the opcode map if the accompanying ModR/M byte is outside the range of 00H to BFH. In this case the first digit of the ModR/M byte selects the row in the table and the second digit selects the column.

A-22

OPCODE MAP

Table A-17. DE Opcode Map When ModR/M Byte is Outside 00H to BFH1

 

0

1

2

3

4

5

 

7

 

 

 

 

 

 

 

 

 

C

 

 

 

FADDP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(1),ST(0)

ST(2),ST(0)

ST(3),ST(0)

ST(4),ST(0)

ST(5),ST(0)

ST(6),ST(0)

ST(7),ST(0)

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

 

 

 

FSUBRP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(1),ST(0)

ST(2),ST(0)

ST(3),ST(0)

ST(4),ST(0)

ST(5),ST(0)

ST(6),ST(0)

ST(7),ST(0)

 

 

 

 

 

 

 

 

 

F

 

 

 

FDIVRP

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(1),ST(0)

ST(2),ST(0)

ST(3),ST(0)

ST(4),ST(0)

ST(5),ST(0)

ST(6),ST(0)

ST(7),ST(0)

 

 

 

 

 

 

 

 

 

 

8

9

A

B

C

D

E

F

 

 

 

 

 

 

 

 

 

C

 

 

 

FMULP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(1),ST(0)

ST(2),ST(0)

ST(3),ST(0)

ST(4),ST(0)

ST(5),ST(0)

ST(6),ST(0)

ST(7),ST(0)

 

 

 

 

 

 

 

 

 

D

 

FCOMPP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

 

 

 

FSUBP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(1),ST(0)

ST(2),ST(0)

ST(3),ST(0)

ST(4),ST(0)

ST(5),ST(0)

ST(6),ST(0)

ST(7),ST(0)

 

 

 

 

 

 

 

 

 

F

 

 

 

FDIVP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(1),ST(0)

ST(2),ST(0).

ST(3),ST(0)

ST(4),ST(0)

ST(5),ST(0)

ST(6),ST(0)

ST(7),ST(0)

 

 

 

 

 

 

 

 

 

NOTE:

1.All blanks in the opcode map are reserved and should not be used. Do not depend on the operation of these undefined opcodes.

A-23

OPCODE MAP

A.5.8. Escape Opcodes with DF As First Byte

Tables A-6 and A-13 contain the opcodes maps for the escape instruction opcodes that begin with DFH. Table A-6 shows the opcode map if the accompanying ModR/M byte within the range of 00H through BFH. Here, the value of bits 5, 4, and 3 (the nnn field in Figure A-1) selects the instruction.

Table A-18. DF Opcode Map When ModR/M Byte is Within 00H to BFH1

nnn Field of ModR/M Byte (see Figure A-1)

000

001

010

011

100

101

110

111

 

 

 

 

 

 

 

 

FILD

 

FIST

FISTP

FBLD

FILD

FBSTP

FISTP

word-integer

 

word-integer

word-integer

packed-BCD

long-integer

packed-BCD

long-integer

 

 

 

 

 

 

 

 

NOTE:

1.All blanks in the opcode map are reserved and should not be used. Do not depend on the operation of these undefined opcodes.

Table A-13 shows the opcode map if the accompanying ModR/M byte is outside the range of 00H to BFH. In this case the first digit of the ModR/M byte selects the row in the table and the second digit selects the column.

A-24

 

 

 

 

 

 

 

OPCODE MAP

 

Table A-19. DF Opcode Map When ModR/M Byte is Outside 00H to BFH1

 

0

1

2

3

4

5

 

7

 

 

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

FSTSW

 

 

 

 

 

 

 

 

AX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F

 

 

 

FCOMIP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(0),ST(1)

ST(0),ST(2)

ST(0),ST(3)

ST(0),ST(4)

ST(0),ST(5)

ST(0),ST(6)

ST(0),ST(7)

 

 

 

 

 

 

 

 

 

 

8

9

A

B

C

D

E

F

 

 

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

 

 

 

FUCOMIP

 

 

 

 

 

 

 

 

 

 

 

 

 

ST(0),ST(0)

ST(0),ST(1)

ST(0),ST(2)

ST(0),ST(3)

ST(0),ST(4)

ST(0),ST(5)

ST(0),ST(6)

ST(0),ST(7)

 

 

 

 

 

 

 

 

 

F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTE:

1.All blanks in the opcode map are reserved and should not be used. Do not depend on the operation of these undefined opcodes.

A-25

B

Instruction Formats

and Encodings

Соседние файлы в папке info