- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel 64 and IA-32 Architectures
Software Developers Manual
Volume 3A:
System Programming Guide, Part 1
Order Number: 253668-034US
March 2010
6.14.3
IRET in IA-32e Mode
Because interrupt stack-frame pushes are always eight bytes in IA-32e mode, an
IRET must pop eight byte items off the stack. This is accomplished by preceding the
IRET with a 64-bit operand-size prefix. The size of the pop is determined by the
address size of the instruction. The SS/ESP/RSP size adjustment is determined by
the stack size.
------------------------------------------------------------
Please look at the above manual by Intel.
I think SS/ESP/RSP is wrong, it should be SP/ESP/RSP.
Also I think the following sentence is correct:
"The size of the pop is determined by the operand size of the instruction."
Regards
Software Developers Manual
Volume 3A:
System Programming Guide, Part 1
Order Number: 253668-034US
March 2010
6.14.3
IRET in IA-32e Mode
Because interrupt stack-frame pushes are always eight bytes in IA-32e mode, an
IRET must pop eight byte items off the stack. This is accomplished by preceding the
IRET with a 64-bit operand-size prefix. The size of the pop is determined by the
address size of the instruction. The SS/ESP/RSP size adjustment is determined by
the stack size.
------------------------------------------------------------
Please look at the above manual by Intel.
I think SS/ESP/RSP is wrong, it should be SP/ESP/RSP.
Also I think the following sentence is correct:
"The size of the pop is determined by the operand size of the instruction."
Regards
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your feedback. We'll have it fixed.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page