Jump to content
Sign in to follow this  

CCS/IAR vs. gcc EABI compatibility?

Recommended Posts

Does anyone know if it's possible to make mspgcc (either 3 or 4) produce objects that follow the same EABI as CCS/IAR do?


I'd like to use some existing assembly that has been written for IAR in a GCC project, but it looks like these compilers use different calling conventions. Porting the assembly is possible, but if possible I'd like to avoid that. While translating the source to msp430-as I noticed that IAR passes function arguments starting in r12 and counting up, where gcc is starting in r15 and counting down, and that's the point where I decided that I probably don't want to put too much more effort in before I know whether I need to do a full port or not.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...