ERETS

REG0=XED_REG_STACKPOP:rw:SUPP:spw5 REG1=XED_REG_RIP:w:SUPP REG2=XED_REG_RSP:w:SUPP:q:u64

x86_64 X86_LEGACY FRED FRED source: xed

XED_ERETS

Encoding

encoding_kindX86_LEGACY
opcode_bytes01
opcode_map0F
mandatory_prefix-
has_modrmTrue
modrm.reg = /1/1
requires_modelong
attributesNOTSX RING0
cpl0
raw_encoding0x0F 0x01 MOD[0b11] MOD=3 REG[0b001] RM[0b010] f2_refining_prefix mode64 DF64()

Operands (3)

# Role Kind Class / Reg Width Access Visibility Encoded in
0 REG0 REG RW SUPPRESSED MODRM_REG
1 REG1 REG (=RIP) w W SUPPRESSED MODRM_REG
2 REG2 REG (=RSP) w W SUPPRESSED MODRM_REG

Flag effects (9)

CF = SET_0 PF = SET_0 AF = SET_0 ZF = SET_0 SF = SET_0 TF = SET_0 IF = SET_0 DF = SET_0 OF = SET_0

Micro-ops sequence (0)

No micro-ops authored for this encoding. Emulator semantics not yet defined — decoder still works.