Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8322219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:18:35+00:00 2026-06-08T23:18:35+00:00

I want to simulate a iret condition on a Linux x86_64 server. I found

  • 0

I want to simulate a iret condition on a Linux x86_64 server.
I found there are three instructions

  1. iret:operand size 16
  2. iretd:operand size 32
  3. iretq:operand size 64

I can’t tell the difference of them,and which one to use.
thanks for anyone’s help!!

I have another question about simulate iret,can you have a look?http://stackoverflow.com/questions/11756274/how-to-simulate-a-iret-on-linux-x86-64

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T23:18:37+00:00Added an answer on June 8, 2026 at 11:18 pm

    From this link:

    IRET returns from an interrupt (hardware or software) by means of
    popping IP (or EIP), CS, and the flags off the stack and then
    continuing execution from the new CS:IP.

    IRETW pops IP, CS and the flags as 2 bytes each, taking 6 bytes off
    the stack in total. IRETD pops EIP as 4 bytes, pops a further 4 bytes
    of which the top two are discarded and the bottom two go into CS, and
    pops the flags as 4 bytes as well, taking 12 bytes off the stack.

    IRET is a shorthand for either IRETW or IRETD, depending on the
    default BITS setting at the time.

    Very similar is also for IRETQ

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to simulate many key press events. I found a solution by using
I'm developing a Silverlight application where I want to simulate a console. There are
Please, I want to simulate dropdown select, but there will be just links, no
I want to simulate push notification without using apple's push notification server, so I
Hey there, I want to simulate the press of iPhone home button and power/standby
I have this swing client-server app. I want to simulate the ' Ctrl+Shift+f1 '
I want to simulate stroking a carpet, so you would have a graphic of
I would want to simulate the behavior of a table with div. I have
Lets say I want to simulate a particle state, which can be normal (0)
I have an application where I want to simulate the connection between a device

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.