[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] What is the best method of avr6 preprocessing?
From: |
Dmitry K. |
Subject: |
Re: [avr-libc-dev] What is the best method of avr6 preprocessing? |
Date: |
Tue, 25 Mar 2008 09:10:31 +1000 |
User-agent: |
KMail/1.5 |
On Tuesday 25 March 2008 07:52, Joerg Wunsch wrote:
> As Dmitry K. wrote:
> > Is the __AVR_3_BYTE_PC__ macro the best for this purpose?
>
> That should probably be only applied in situations where you are
> interested in knowing how many bytes have been pushed onto the stack
> by a CALL instruction.
Thanks.
So it was incorrect to use 'AVR_ARCH == 6' (library per arch)
or 'defined(EIND)' (library per device) in setjmp()/longjmp()
functions.
Fixed.
Dmitry.