beautypg.com

Amd confidential user manual september 12 – AMD SimNow Simulator 4.4.4 User Manual

Page 212

background image

AMD Confidential

User Manual

September 12

h

, 2008

200

Appendix A

Instruction

Supported

Mnemonic

Opcode

Description

DIV reg/mem32

F7 /6

Perform unsigned division of EDX:EAX

by the contents of a 32-bit register

or memory location and store the

quotient in EAX and the remainder in

EDX.

DIV reg/mem64

F7 /6

Perform unsigned division of RDX:RAX

by the contents of a 64-bit register

or memory location and store the

quotient in RAX and the remainder in

RDX.

ENTER imm16,0

CB iw 00

Create a procedure stack frame.

ENTER imm16,1

CB iw 01

Create a nested stack frame for a

procedure.

ENTER imm16,imm8

CB iw ib

Create a nested stack frame for a

procedure.

IDIV reg/mem8

F6 /7

Perform signed division of AX by the

contents of an 8-bit register or

memory

location

and

store

the

quotient in AL and the remainder in

AH.

IDIV reg/mem16

F7 /7

Perform signed division of DX:AX by

the contents of a 16-bit register or

memory

location

and

store

the

quotient in AX and the remainder in

DX.

IDIV reg/mem32

F7 /7

Perform signed division of EDX:EAX by

the contents of a 32-bit register or

memory

location

and

store

the

quotient in EAX and the remainder in

EDX.

IDIV reg/mem64

F7 /7

Perform signed division of RDX:RAX by

the contents of a 64-bit register or

memory

location

and

store

the

quotient in RAX and the remainder in

RDX.

IMUL reg/mem8

F6 /5

Multiply the contents of AL by the

contents of an 8-bit memory or

register operand and put the signed

result in AX.

IMUL reg/mem16

F7 /5

Multiply the contents of AX by the

contents of a 16-bit memory or

register operand and put the signed

result in DX:AX.

IMUL reg/mem32

F7 /5

Multiply the contents of EAX by the

contents of a 32-bit memory or

register operand and put the signed

result in EDX:EAX.

IMUL reg/mem64

F7 /5

Multiply the contents of RAX by the

contents of a 64-bit memory or

register operand and put the signed

result in RDX:RAX.

IMUL reg16,reg/mem16

OF AF /r

Multiply the contents of a 16-bit

destination register by the contents

of a 16-bit register or memory

operand and put the signed result the

16-bit destination register.

IMUL reg32,reg/mem32

OF AF /r

Multiply the contents of a 32-bit

destination register by the contents

of a 32-bit register or memory

operand and put the signed result the

32-bit destination register.

IMUL reg64,reg/mem64

OF AF /r

Multiply the contents of a 64-bit

destination register by the contents

of a 64-bit register or memory

operand and put the signed result the

64-bit destination register.

IMUL reg16,reg/mem16,imm8

6B /r ib

Multiply the contents of a 16-bit

register or memory operand by a sign-

extended immediate byte and put the

signed

result

in

the

16-bit

destination register.

IMUL reg32,reg/mem32,imm8

6B /r ib

Multiply the contents of a 32-bit

register or memory operand by a sign-

extended immediate byte and put the

signed

result

in

the

32-bit

destination register.