[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] gcc prolog incorrect?

From: E. Weddington
Subject: Re: [avr-gcc-list] gcc prolog incorrect?
Date: Mon, 07 Mar 2005 14:15:20 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Jeff Barlow wrote:

"Dave Hansen" <address@hidden>  wrote:

Worse than broken. On the AVR, it is _impossible_ to return from an interrupt (more specifically RETI) without enabling interrupts.

Well, you could just do a ret, but that would be pretty silly.

That implies:
- Writing the ISR in assembly, which in the case of writing RET instead of RETI, this would be a pilot error.
- A broken compiler.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]