From: jfox AT priv DOT onet DOT pl (J.F.) To: djgpp AT delorie DOT com Subject: j Date: Sun, 03 Jun 2001 22:31:01 GMT Organization: - Message-ID: <3b2cb385.30926517@mars.planconsult.com.pl> References: <9f2fkb$fup$1 AT news DOT tpi DOT pl> <200105301637 DOT MAA12515 AT envy DOT delorie DOT com> In-Reply-To: <200105301637.MAA12515@envy.delorie.com> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On Wed, 30 May 2001 12:37:53 -0400, in comp.os.msdos.djgpp you wrote: > >> Can I force the compiler to generate "retf" or "iret" instead of "ret" at >> the end of procedure? > >If your question is "how can I write interrupt handlers in C?" then >you probably want to read FAQ 18.9 has more information. > >http://www.delorie.com/djgpp/v2faq/faq18_9.html > >As for gcc, it does not know how to create an interrupt handler >function. You have to wrap it with assembler or use one of the >djgpp-specific wrapper functions.