모두의 코드
RORX (Intel x86/64 assembly instruction)
RORX
Rotate Right Logical Without Affecting Flags
참고 사항
아래 표를 해석하는 방법은 x86-64 명령어 레퍼런스 읽는 법 글을 참조하시기 바랍니다.
Opcode/ | Op/ | 64/32 | CPUID | Description |
---|---|---|---|---|
| RMI | V/V | BMI2 | Rotate 32-bit r/m32 right imm8 times without affecting arithmetic flags. |
| RMI | V/N.E. | BMI2 | Rotate 64-bit r/m64 right imm8 times without affecting arithmetic flags. |
Instruction Operand Encoding
Op/En | Operand 1 | Operand 2 | Operand 3 | Operand 4 |
---|---|---|---|---|
RMI | ModRM:reg (w) | ModRM:r/m (r) | Imm8 | NA |
Description
Rotates the bits of second operand right by the count value specified in imm8 without affecting arithmetic flags. The RORX instruction does not read or write the arithmetic flags.
This instruction is not supported in real mode and virtual-8086 mode. The operand size is always 32 bits if not in 64-bit mode. In 64-bit mode operand size 64 requires VEX.W1. VEX.W1 is ignored in non-64-bit modes. An attempt to execute this instruction with VEX.L not equal to 0 will cause #UD.
Operation
IF (OperandSize = 32) y <- imm8 AND 1FH; DEST <- (SRC >> y) | (SRC << (32-y)); ELSEIF (OperandSize = 64 ) y <- imm8 AND 3FH; DEST <- (SRC >> y) | (SRC << (64-y)); ENDIF
Flags Affected
None
Intel C/C++ Compiler Intrinsic Equivalent
Auto - generated from high - level language.
SIMD Floating-Point Exceptions
None
Other Exceptions
See Section 2.5.1, "Exception Conditions for VEX-Encoded GPR Instructions", Table 2-29; additionally
#UD If VEX.W = 1.

댓글을 불러오는 중입니다..