delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/08/15:39:27

Message-ID: <3D025329.CA0106FD@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question about djgpp's int-wrapper
References: <5 DOT 0 DOT 2 DOT 1 DOT 2 DOT 20020608134608 DOT 009e4050 AT pop DOT gmx DOT net>
Lines: 14
Date: Sat, 08 Jun 2002 19:16:45 GMT
NNTP-Posting-Host: 12.90.174.100
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1023563805 12.90.174.100 (Sat, 08 Jun 2002 19:16:45 GMT)
NNTP-Posting-Date: Sat, 08 Jun 2002 19:16:45 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Steuer wrote:
> 
> While examining the source of the wrapper in gopint.c I found
> that it does not issue a 'sti' before returning with 'iret'.

x86 machines store the interrupt state with the flags on the
stack.  Thus the iret restores the entry state (which may not have
been enabled - think software interrupts).

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019