avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Problem with the calling convention


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Problem with the calling convention
Date: Wed, 14 Jul 2004 14:41:53 +0200 (MET DST)

"Martin Krüger " <address@hidden> wrote:

> The problem ist   another function called using r19,r18 without pushing
> and restoring its values.

That might be a bug.  r18/r19 are considered to be private to each
function (i. e. the called function is allowed to destroy them).

Make sure you've got all function prototype declarations OK.  If the
problem persists, post a source code snippet demonstrating the
problem.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

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