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

Page 228

Advertising
background image

AMD Confidential

User Manual

November 21

st

, 2008

216

Appendix A

Instruction

Supported

Mnemonic

Opcode

Description

SHRD reg/mem16,reg16,CL

0F AD /r

Shift bits of a 64-bit destination
register or memory operand to the
right the number of bits specified in
the CL register, while shifting in
bits from the second operand.

STC

F9

Set the carry flag (CF) to 1.

STD

FD

Set the direction flag (DF) to 1.

STOS reg8

AA

Store the contents of the AL register
to ES:rDI, and then increment or
decrement rDI.

STOS reg16

AB

Store the contents of the AX register
to ES:rDI, and then increment or
decrement rDI.

STOS reg32

AB

Store the contents of the EAX
register

to

ES:rDI,

and

then

increment or decrement rDI.

STOS reg64

AB

Store the contents of the RAX
register

to

ES:rDI,

and

then

increment or decrement rDI.

STOSB

AA

Store the contents of the AL register
to ES:rDI, and then increment or
decrement rDI.

STOSW

AB

Store the contents of the AX register
to ES:rDI, and then increment or
decrement rDI.

STOSD

AB

Store the contents of the EAX
register

to

ES:rDI,

and

then

increment or decrement rDI.

STOSQ

AB

Store the contents of the RAX
register

to

ES:rDI,

and

then

increment or decrement rDI.

SUB AL,imm8

2C ib

Subtract an immediate 8-bit value
from the AL register and store the
result in AL.

SUB AX,imm16

2D iw

Subtract an immediate 16-bit value
from the AX register and store the
result in AX.

SUB EAX,imm32

2D id

Subtract an immediate 32-bit value
from the EAX register and store the
result in EAX.

SUB RAX,imm32

2D id

Subtract a sign-extended immediate
32-bit value from the RAX register
and store the result in RAX.

SUB reg/mem8,imm8

80 /5 ib

Subtract an immediate 8-bit value
from an 8-bit destination register or
memory location.

SUB reg/mem16,imm16

81 /5 iw

Subtract an immediate 16-bit value
from a 16-bit destination register or
memory location.

SUB reg/mem32,imm32

81 /5 id

Subtract an immediate 32-bit value
from a 32-bit destination register or
memory location.

SUB reg/mem64,imm32

81 /5 id

Subtract a sign-extended immediate
32-bit

value

from

a

64-bit

destination

register

or

memory

location.

SUB reg/mem16,imm8

83 /5 ib

Subtract a sign-extended immediate 8-
bit value from a 16-bit register or
memory location.

SUB reg/mem32,imm8

83 /5 ib

Subtract a sign-extended immediate 8-
bit value from a 32-bit register or
memory location.

SUB reg/mem64,imm8

83 /5 ib

Subtract a sign-extended immediate 8-
bit value from a 64-bit register or
memory location.

Advertising