answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the operational difference between the IRET and RET instruction?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the basic difference between instruction RET and IRET in 8086 microprocessor?

RET pops the PC off of the stack, while IRET pops both the flags and the PC off of the stack.


What is the operational difference between the IRET and RET instructions?

Usually return from interrupt restores the flags so that the interrupted code can continue to execute properly. Return from subroutine does not need to do that instruction is used intentionally in that flow of code and known that the flags are or are not destroyed depending on the architecture.


What is the last instruction of ISR in 8086?

IRET


What is the difference between ret and iret?

iret pops an extra 2 bytes off the stack, as interrupt calls save the flags in addition to the return address


When an IRET instruction is executed what action takes place?

By ABDULLAH ABID Secretary Info & IT GLOBAL PEACE COUNCIL PAKISTAN. http://h.1asphost.com/gpcp/org The Interrupt-In-Service-Flag is set at the beginning of an interrupt-acknowledge cycle. It is reset by the IRET (Interrupt-RETurn) instruction. When IIS is set, interrupts are disabled. When the Status-register is read, IIS always reads as '0'.


Why iret directive is used to return from an interrupt rather than ret?

IRET stands for RETurn from Interrupt.


What is the market cap for Investors Real Estate Trust IRET?

As of July 2014, the market cap for Investors Real Estate Trust (IRET) is $942,807,991.74.


Iwhen the car gets cold it starts but when it gets hot it truns off?

iret's amysterrruy


What is the symbol for Investors Real Estate Trust in the NYSE?

The symbol for Investors Real Estate Trust in the NYSE is: IRET.


What are some eight letter words with 2nd letter I and 3rd letter R and 4th letter E and 5th letter T and 8th letter P?

According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 1 words with the pattern -IRET--P. That is, eight letter words with 2nd letter I and 3rd letter R and 4th letter E and 5th letter T and 8th letter P. In alphabetical order, they are: firetrap


What are some eight letter words with 2nd letter I and 3rd letter R and 4th letter E and 5th letter T and 7th letter P?

According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 1 words with the pattern -IRET-P-. That is, eight letter words with 2nd letter I and 3rd letter R and 4th letter E and 5th letter T and 7th letter P. In alphabetical order, they are: wiretaps


Push and pop instruction of 8086 microprocessor?

I am not sure about 8086, but I can tell you the whole procedure in 8085. PUSH instruction always pushes two bytes of data i.e. total 16 bits. Example: Assume that Stack is already initialized and SP is at 2008 address location. Then PUSH B instruction will have following steps: 1) The stack pointer (SP) will be pointing to the uppermost position of the stack (actually stack works in opposite order in terms of Addresses. e.g. if SP is now at address 2008, then PUSH instruction will store the contents on 2007 & 2006). 2) The contents of register B & C will be saved on to the stack such that contents of register B will be at 2007 & that of C will be at 2006 address location. 3) The SP is now modified to 2006.