Both are used for Return operations. But the difference is IRET uses extra 2 bytes along with 2 bytes(making it 4 bytes) for poping from stack. And RET uses only 2 byte of instruction for Poping. IRET is used to switch from Virtual Mode to Protected Mode whereas RET isn't.
Chat with our AI personalities