Date: Sun, 11 Jan 1998 14:33:46 +0200 (IST) From: Eli Zaretskii To: Adam Young cc: djgpp AT delorie DOT com Subject: Re: Comparison: Serial Port Routines In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 8 Jan 1998, Adam Young wrote: > What I am wanting to know is what is the difference between the two > methods (ie advantages and disadvantages). One disadvantage of writing interrupt handlers in C is that there is no reliable way of computing the size of a C function. This size is required to lock the code of the handler in memory (as you always need to do with hardware interrupt handlers). There are common tricks to do this which work with current versions of GCC, but they aren't guaranteed to work with future versions.