IAR C compiler calling conventions

Status
Not open for further replies.

artem

Advanced Member level 4
Joined
May 22, 2003
Messages
1,347
Helped
126
Reputation
252
Reaction score
32
Trophy points
1,328
Location
Turkey
Activity points
13,451
When looking for calling conventions for IAR EWB 2.28A rev compiler it was noticed that 2 of them are described (ICCA90 is the version 1 standard , ICCAVR is newest) . ICCA90 parameter passing is well defined but not for ICCAVR . For second compilation option it is said - compiler can change order of parameters stored in registers to achieve better efficiency and utilization.
Does somebody know strict calling conventions for ICCAVR compilation option ?

Thanks in advance
 

Hello artem!

The file CAVR.PDF (avr 2.26a, attached) says:
The #pragma type_attribute controls the calling conventions of functions.

Hope this helps!

zuisti
 

Sorry artem,
the PDF is 2.28a, not 2.26a
zuisti
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…