AMD 4.4.5 user manual 197

Models: 4.4.5

1 269
Download 269 pages 44.58 Kb
Page 209
Image 209

 

 

 

 

AMD Confidential

 

 

 

November 21st, 2008

User Manual

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction

 

 

 

 

 

 

 

 

 

Supported

 

 

Mnemonic

 

 

Opcode

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Perform signed division of RDX:RAX by

 

 

 

 

 

 

 

 

the contents of a 64-bit register or

 

IDIV reg/mem64

 

 

F7 /7

 

memory

location

 

and

store

the

 

 

 

 

 

 

 

 

quotient in RAX and the remainder in

 

 

 

 

 

 

 

 

RDX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of AL by the

 

IMUL reg/mem8

 

 

F6 /5

 

contents

of

an

 

8-bit

memory

or

 

 

 

 

register operand and put the signed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

result in AX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of AX by the

 

IMUL reg/mem16

 

 

F7 /5

 

contents

of

a

16-bit

memory

or

 

 

 

 

register operand and put the signed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

result in DX:AX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of EAX by the

 

IMUL reg/mem32

 

 

F7 /5

 

contents

of

a

32-bit

memory

or

 

 

 

 

register operand and put the signed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

result in EDX:EAX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of RAX by the

 

IMUL reg/mem64

 

 

F7 /5

 

contents

of

a

64-bit

memory

or

 

 

 

 

register operand and put the signed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

result in RDX:RAX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 16-bit

 

 

 

 

 

 

 

 

destination register by the contents

 

IMUL reg16,reg/mem16

 

 

OF AF /r

 

of a 16-bit

register

or

memory

 

 

 

 

 

 

 

 

operand and put the signed result the

 

 

 

 

 

 

 

 

16-bit destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 32-bit

 

 

 

 

 

 

 

 

destination register by the contents

 

IMUL reg32,reg/mem32

 

 

OF AF /r

 

of a 32-bit

register

or

memory

 

 

 

 

 

 

 

 

operand and put the signed result the

 

 

 

 

 

 

 

 

32-bit destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 64-bit

 

 

 

 

 

 

 

 

destination register by the contents

 

IMUL reg64,reg/mem64

 

 

OF AF /r

 

of a 64-bit

register

or

memory

 

 

 

 

 

 

 

 

operand and put the signed result the

 

 

 

 

 

 

 

 

64-bit destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 16-bit

 

 

 

 

 

 

 

 

register or memory operand by a sign-

 

IMUL reg16,reg/mem16,imm8

 

 

6B /r ib

 

extended

immediate

byte

and

put

the

 

 

 

 

 

 

 

 

signed

result

 

in

the

16-bit

 

 

 

 

 

 

 

 

destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 32-bit

 

 

 

 

 

 

 

 

register or memory operand by a sign-

 

IMUL reg32,reg/mem32,imm8

 

 

6B /r ib

 

extended

immediate

byte

and

put

the

 

 

 

 

 

 

 

 

signed

result

 

in

the

32-bit

 

 

 

 

 

 

 

 

destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 64-bit

 

 

 

 

 

 

 

 

register or memory operand by a sign-

 

IMUL reg64,reg/mem64,imm8

 

 

6B /r ib

 

extended

immediate

byte

and

put

the

 

 

 

 

 

 

 

 

signed

result

 

in

the

64-bit

 

 

 

 

 

 

 

 

destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 16-bit

 

 

 

 

 

 

 

 

register or memory operand by a sign-

 

IMUL reg16,reg/mem16,imm16

 

 

69 /r iw

 

extended

immediate

word

and

put

the

 

 

 

 

 

 

 

 

signed

result

 

in

the

16-bit

 

 

 

 

 

 

 

 

destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 32-bit

 

 

 

 

 

 

 

 

register or memory operand by a sign-

 

IMUL reg32,reg/mem32,imm32

 

 

69 /r id

 

extended immediate double and put the

 

 

 

 

 

 

 

 

signed

result

 

in

the

32-bit

 

 

 

 

 

 

 

 

destination register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply the contents of a 64-bit

 

 

 

 

 

 

 

 

register or memory operand by a sign-

 

IMUL reg64,reg/mem64,imm32

 

 

69 /r id

 

extended immediate double and put the

 

 

 

 

 

 

 

 

signed

result

 

in

the

64-bit

 

 

 

 

 

 

 

 

destination register.

 

 

 

 

 

 

 

Appendix A

197

Page 209
Image 209
AMD 4.4.5 user manual 197