RET pops the PC off of the stack, while IRET pops both the flags and the PC off of the stack.
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.
IRET
iret pops an extra 2 bytes off the stack, as interrupt calls save the flags in addition to the return address
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'.
IRET stands for RETurn from Interrupt.
As of July 2014, the market cap for Investors Real Estate Trust (IRET) is $942,807,991.74.
iret's amysterrruy
The symbol for Investors Real Estate Trust in the NYSE is: IRET.
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
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
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.