[Q] avr-gcc and calling convention
From: 42Bastian Schick (bastian42_at_yahoo.com)
Date: 01/24/05
- Next message: CBFalconer: "Re: The first PC and the first embedded system!"
- Previous message: s.subbarayan: "Self booting systems with out bootloader?!!!"
- Next in thread: Ulf Samuelsson: "Re: [Q] avr-gcc and calling convention"
- Reply: Ulf Samuelsson: "Re: [Q] avr-gcc and calling convention"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 Jan 2005 06:10:29 GMT
Hi
I am starting to port our RTOS to AVR using avr-gcc ( later surely
IAR, ImageCraft).
Currently I am confused about the calling convention. The AVR-lib
document says:
r2-r17 are callee saved
r18-27 are caller saved
r25-r8 are the parameters left to right
Does this mean, I must preserve the parameter values in r17-r8 ?
TIA
-- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !
- Next message: CBFalconer: "Re: The first PC and the first embedded system!"
- Previous message: s.subbarayan: "Self booting systems with out bootloader?!!!"
- Next in thread: Ulf Samuelsson: "Re: [Q] avr-gcc and calling convention"
- Reply: Ulf Samuelsson: "Re: [Q] avr-gcc and calling convention"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|