Amd confidential user manual november 21 – AMD SimNow Simulator 4.4.5 User Manual

Page 214

Advertising
background image

AMD Confidential

User Manual

November 21

st

, 2008

202

Appendix A

Instruction

Supported

Mnemonic

Opcode

Description

LODSD

AD

Load doubleword at DS:rSI into EAX
and then increment or decrement rSI.

LODSQ

AD

Load quadword at DS:rSI into RAX and
then increment or decrement rSI.

LOOP rel8off

E2 cb

Decrement rCX and then jump short if
rCX is not 0.

LOOPE rel8off

E1 cb

Decrement rCX and then jump short if
rCX is not 0 and ZF is 1.

LOOPNE rel8off

E0 cb

Decrement rCX and then jump short if
rCX is not 0 and ZF is 0.

LOOPNZ rel8off

E0 cb

Decrement rCX and then jump short if
rCX is not 0 and ZF is 0.

LOOPZ rel8off

E1 cb

Decrement rCX and then jump short if
rCX is not 0 and ZF is 1.

MFENCE

0F AE F0

Force strong ordering of (serialized)
load and store operations.

MOV reg/mem8,reg8

88 /r

Move the contents of an 8-bit
register to an 8-bit destination
register or memory operand.

MOV reg/mem16,reg16

89 /r

Move the contents of a 16-bit
register to a 16-bit destination
register or memory operand.

MOV reg/mem32,reg32

89 /r

Move the contents of a 32-bit
register to a 32-bit destination
register or memory operand.

MOV reg/mem64,reg64

89 /r

Move the contents of a 64-bit
register to a 64-bit destination
register or memory operand.

MOV reg8,reg/mem8

8A /r

Move the contents of an 8-bit
register or memory operand to an 8-
bit destination register.

MOV reg16,reg/mem16

8B /r

Move the contents of a 16-bit
register or memory operand to a 16-
bit destination register.

MOV reg32,reg/mem32

8B /r

Move the contents of a 32-bit
register or memory operand to a 32-
bit destination register.

MOV reg64,reg/mem64

8B /r

Move the contents of a 64-bit
register or memory operand to a 64-
bit destination register.

MOV reg16/32/64/mem16,segReg

8C /r

Move the contents of a segment
register to a 16-bit, 32-bit, or 64-
bit destination register or to a 16-
bit memory operand.

MOV segReg,reg/mem16

8E /r

Move the contents of a 16-bit
register or memory operand to a
segment register.

MOV AL,moffset8

A0

Move 8-bit data at a specified memory
offset to the AL register.

MOV AX,moffset16

A1

Move 16-bit data at a specified
memory offset to the AX register.

MOV EAX,moffset32

A1

Move 32-bit data at a specified
memory offset to the EAX register.

MOV RAX,moffset64

A1

Move 64-bit data at a specified
memory offset to the RAX register.

MOV moffset8,AL

A2

Move the contents of the AL register
to an 8-bit memory offset.

MOV moffset16,AX

A3

Move the contents of the AX register
to a 16-bit memory offset.

MOV moffset32,EAX

A3

Move the contents of the EAX register
to a 32-bit memory offset.

MOV moffset64,RAX

A3

Move the contents of the RAX register
to a 64-bit memory offset.

MOV reg8,imm8

B0 +rb

Move an 8-bit immediate value into an
8-bit register.

MOV reg16,imm16

B8 +rw

Move a 16-bit immediate value into a
16-bit register.

Advertising