Can some other instructions just follow the IRET?



Hi all,
According to what I've learned,the IRET will make the control leave the
interrupt service program and return where is interrupted,so I think
any other instruction just following the IRET will not be executed.But
today in a sample of interrupt service program I saw the author write a
JMP instruction just following the IRET.Will the JMP be executed under
any situation?
Any help will be appreciated! Thanks a lot!

.



Relevant Pages

  • Re: whats the difference between IRET and IRETD?
    ... The IRET instruction is a very complicated instruction. ... on the stack are the status register, CS register and the Instruction Pointer ...
    (alt.lang.asm)
  • [PATCH] x86_64: fix iret exception recovery
    ... This change broke recovery of exceptions in iret: ... replace privileged instructions with paravirt macros ... instruction, so "iret_label" no longer points exactly at the instruction. ... iret run with kernel gs again, so don't set the user space flag. ...
    (Linux-Kernel)
  • Re: fast vs slow interrupt handler in intel processor
    ... > But i believe in intel, when an ISR starts running, till the IRET ... > instruction is executed, the processor will not check its INTR pin, ... Interrupts can be enabled again before the IRET instruction. ...
    (comp.os.linux.development.system)
  • Re: fast vs slow interrupt handler in intel processor
    ... >> But i believe in intel, when an ISR starts running, till the IRET ... > Interrupts can be enabled again before the IRET instruction. ... Do u mean the interrupt controller's interrupt bits are enabled? ...
    (comp.os.linux.development.system)
  • Re: Excution Time in Cycles on Different Processors
    ... execution before the read operation is performed." ... To have RDTSC instruction time properly, you'll need to execute a 586+ ... IRET, WBINVD, CPUID are non-privileged instructions. ... Sorry, I stated "IRET, WBINVD, CPUID are non-privileged instructions." ...
    (comp.lang.asm.x86)