www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/05/08:23:57

Sender: nate AT cartsys DOT com
Message-ID: <37082B22.B96BA80D@cartsys.com>
Date: Sun, 04 Apr 1999 20:16:50 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: INT in INT handler
References: <7e7ibo$cr4$3 AT news DOT luth DOT se>
Reply-To: djgpp AT delorie DOT com

Martin Str|mberg wrote:
> 
> Suppose I want to issue an INT 0x31 in an interrupt handler, do I need
> to "sti" first? (I think so as interrupts are disabled at entry of the
> interrupt handler, but it is a software interrupt.)

The INT instruction works even with interrupts disabled.

Whether the other INT 0x31 handler is okay with having interrupts
disabled on entry is another question, though.  But I suspect it's
probably okay.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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