[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] function prologue
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] function prologue |
Date: |
Wed, 30 Jun 2004 10:06:35 +0200 (MET DST) |
"sebastian meuren" <address@hidden> wrote:
> I've got a question: Is it possible to replace the avr-gcc
> function-prologue with one's own prologue? I want to define a
> function-typ (like SIGNAL or INTERRUPT) which always executes a
> special set of instructions by entering the function.
Not that way. But if you declare the function using
__attribute__((naked)), the compiler will not generate /any/ function
prologue/epilogue at all, not even the final RET instruction.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/