Not applicable
Sep 29, 2012
04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2012
04:26 AM
I have an issue with switch/case statements that may cause RET failure, due to unusual stack layout.
There is an exhaustive analysis by Erik Petrich (scroll down to the comment "Date: 2012-09-28 23:55:33 PDT"):
https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3535290&group_id=599
I will test his workaround next week. I'm aware that this use of the RET instruction is unusual, but maybe the XC800 manuals should have a section about unusual instruction behaviour.
There is an exhaustive analysis by Erik Petrich (scroll down to the comment "Date: 2012-09-28 23:55:33 PDT"):
https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3535290&group_id=599
I will test his workaround next week. I'm aware that this use of the RET instruction is unusual, but maybe the XC800 manuals should have a section about unusual instruction behaviour.
Labels
- Labels:
-
XC800
0 Replies