[Top][All Lists]

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

[avr-gcc-list] Register usage for parameter passing

From: Larry Barello
Subject: [avr-gcc-list] Register usage for parameter passing
Date: Thu Feb 1 05:43:04 2001

Last year, passing a single char parameter between routines,
was done in R25.

There was some talk of changing it to R24 so that parameters
were aligned on word boundaries (e.g. char = R24, int =
R24:25, long = R22-25) etc.  This was to accommodate the new
AVR cores and various multiply instructions (or something
like that).

It appears that indeed this change occured, but the
CtoAsm.inc file in the library source doesn't reflect this.

Is that an oversight, or am I looking in the right place?

reply via email to

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