beautypg.com

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

Page 229

background image

AMD Confidential

User Manual

September 12

th

, 2008

Appendix A

217

Instruction

Supported

Mnemonic

Opcode

Description

SHRD reg/mem16,reg16,imm8

0F AC /r ib

Shift bits of a 16-bit destination

register or memory operand to the

right the number of bits specified in

an 8-bit immediate value, while

shifting in bits from the second

operand.

SHRD reg/mem16,reg16,CL

0F AD /r

Shift bits of a 16-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.

SHRD reg/mem32,reg32,imm8

0F AC /r ib

Shift bits of a 32-bit destination

register or memory operand to the

right the number of bits specified in

an 8-bit immediate value, while

shifting in bits from the second

operand.

SHRD reg/me326,reg32,CL

0F AD /r

Shift bits of a 32-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.

SHRD reg/mem64,reg64,imm8

0F AC /r ib

Shift bits of a 64-bit destination

register or memory operand to the

right the number of bits specified in

an 8-bit immediate value, while

shifting in bits from the second

operand.

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.