모두의 코드
RDPID (Intel x86/64 assembly instruction)

작성일 : 2020-09-01 이 글은 685 번 읽혔습니다.

RDPID

Read Processor ID

참고 사항

아래 표를 해석하는 방법은 x86-64 명령어 레퍼런스 읽는 법 글을 참조하시기 바랍니다.

Opcode/
Instruction

Op/
En

64/32-
bit
Mode

CPUID
Feature Flag

Description

F3 0F C7 /7
RDPID r32

M

N.E./V

RDPID

Read IA32_TSC_AUX into r32.

F3 0F C7 /7
RDPID r64

M

V/N.E.

RDPID

Read IA32_TSC_AUX into r64.

Instruction Operand Encoding

Op/En

Operand 1

Operand 2

Operand 3

Operand 4

M

ModRM:r/m (w)

NA

NA

NA

Description

Reads the value of the IA32TSCAUX MSR (address C0000103H) into the destination register. The value of CS.D and operand-size prefixes (66H and REX.W) do not affect the behavior of the RDPID instruction.

Operation

DEST <- IA32_TSC_AUX 

Flags Affected

None.

Protected Mode Exceptions

#UD

  • If the LOCK prefix is used.

  • If the F2 prefix is used.

  • If CPUID.7H.0:ECX.RDPID[bit 22] = 0.

Real-Address Mode Exceptions

Same exceptions as in protected mode.

Virtual-8086 Mode Exceptions

Same exceptions as in protected mode.

Compatibility Mode Exceptions

Same exceptions as in protected mode.

64-Bit Mode Exceptions

Same exceptions as in protected mode.

첫 댓글을 달아주세요!
프로필 사진 없음
강좌에 관련 없이 궁금한 내용은 여기를 사용해주세요

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