www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/30/14:03:27

Date: Wed, 30 May 2001 12:37:53 -0400
Message-Id: <200105301637.MAA12515@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <9f2fkb$fup$1@news.tpi.pl> (xos@o2.pl)
Subject: Re: Returning from procedure
References: <9f2fkb$fup$1 AT news DOT tpi DOT pl>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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.

- Raw text -


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