beautypg.com

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

Page 223

background image

AMD Confidential

User Manual

September 12

th

, 2008

Appendix A

211

Instruction

Supported

Mnemonic

Opcode

Description

RCL reg/mem64,1

RCR

D1 /3

Rotate the 65 bits consisting of the

carry flag and a 64-bit register or

memory location right 1 bit.

RCR reg/mem64,CL

D3 /3

Rotate the 65 bits consisting of the

carry flag and a 64-bit register or

memory location right the number of

bits specified in the CL register.

RCR reg/mem64,imm8

C1 /3 ib

Rotate the 65 bits consisting of the

carry flag and a 64-bit register or

memory location right the number of

bits specified by an 8-bit immediate

value.

RET

C3

Near return to the calling procedure.

RET imm16

C2 iw

Near return to the calling procedure

and then pop of the specified number

of bytes from the stack.

RETF

CB

Far return to the calling procedure.

RETF imm16

CA iw

Far return to the calling procedure

and then pop of the specified number

of bytes from the stack.

ROL reg/imm8,1

D0 /0

Rotate an 8-bit register or memory

operand left 1 bit.

ROL reg/mem8,CL

D2 /0

Rotate an 8-bit register or memory

operand left the number of bits

specified in the CL register.

ROL reg/mem8,imm8

C0 /0 ib

Rotate an 8-bit register or memory

operand left the number of bits

specified by an 8-bit immediate

value.

ROL reg/imm16,1

D1 /0

Rotate a 16-bit register or memory

operand left 1 bit.

ROL reg/mem16,CL

D3 /0

Rotate a 16-bit register or memory

operand left the number of bits

specified in the CL register.

ROL reg/mem16,imm8

C1 /0 ib

Rotate a 16-bit register or memory

operand left the number of bits

specified by an 8-bit immediate

value.

ROL reg/imm32,1

D1 /0

Rotate a 32-bit register or memory

operand left 1 bit.

ROL reg/mem32,CL

D3 /0

Rotate a 32-bit register or memory

operand left the number of bits

specified in the CL register.

ROL reg/mem32,imm8

C1 /0 ib

Rotate a 32-bit register or memory

operand left the number of bits

specified by an 8-bit immediate

value.

ROL reg/imm64,1

D1 /0

Rotate a 64-bit register or memory

operand left 1 bit.

ROL reg/mem64,CL

D3 /0

Rotate a 64-bit register or memory

operand left the number of bits

specified in the CL register.

ROL reg/mem64,imm8

C1 /0 ib

Rotate a 64-bit register or memory

operand left the number of bits

specified by an 8-bit immediate

value.

ROR reg/imm8,1

D0 /0

Rotate an 8-bit register or memory

operand right 1 bit.

ROR reg/mem8,CL

D2 /0

Rotate an 8-bit register or memory

operand right the number of bits

specified in the CL register.

ROR reg/mem8,imm8

C0 /0 ib

Rotate an 8-bit register or memory

operand right the number of bits

specified by an 8-bit immediate

value.

ROR reg/imm16,1

D1 /0

Rotate a 16-bit register or memory

operand left 1 bit.

ROR reg/mem16,CL

D3 /0

Rotate a 16-bit register or memory

operand right the number of bits

specified in the CL register.

ROR reg/mem16,imm8

C1 /0 ib

Rotate a 16-bit register or memory

operand right the number of bits

specified by an 8-bit immediate

value.