iret 
Author Message
 iret

hi , how are you
if i use use32 in masm , it will place a 66h before the iret instruction but
in 32bit mode the iret should not have 66h before it , would you like to
tell me how can i correct it?
thanks a lot


Wed, 31 Jul 2002 03:00:00 GMT  
 iret

Quote:

> if i use use32 in masm , it will place a 66h before the iret instruction but

  Because it thinks you want a 16-bit iret.

Quote:
> in 32bit mode the iret should not have 66h before it , would you like to
> tell me how can i correct it?

  Use "iretd"

  "Iretd" always means 32-bit.  "Iret" may mean current mode (match the
last USE16 or USE32) or it may mean 16-bit, depending on the assembler
version.
--
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/



Wed, 31 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Bizarre results of IRET instruction while returning from IDLE interrupt handler

2. TSR runs fine, but iret is unpredictable - help?

3. iret to function

4. FAR call and IRET

5. Interrupt Service Routine cannot IRET

6. RETF x IRET

7. serialize: IRET vs. CPUID

8. IRET or IRETD?

9. ret/iret to low privileged code

10. IRET and user programs

11. Bizarre results of IRET instruction while returning from IDLE interrupt handler

12. Crash on IRET

 

 
Powered by phpBB® Forum Software