Register allocation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-02-15 4:06 AM
Posted on February 15, 2016 at 13:06
Hello,
I'm using SPC5 studio with the high-tec tool chain for SPC56EL70L5. I'd need to set the linker in such a way that one out of 32 general purpose register won't be never used by the compiler because I need it for some assembly code lines. Could you tell me what kind of directives do I have to use?Thank you in advance for the help
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-02-22 6:25 AM
Posted on February 22, 2016 at 15:25
Hello Stefano ,
i do not know if Hightec can handle that.the simplest way is to Save/Restore registers that you use .. Best regards Erwan