<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>RET_XSTK compiler directive generating wrong code</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20130/ret_xstk-compiler-directive-generating-wrong-code</link><description> 
I am using the following compiler directives for C51.exe CFLAGS =
DB OE LARGE $(INCDIR) CODE RET_XSTK WL(1) 

 
It looks like the generated code is incorrect. I have a TSK_create
function with the following prototype 

 
TSK_hndl_t TSK_create ( void</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: RET_XSTK compiler directive generating wrong code</title><link>https://community.arm.com/thread/47730?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2007 01:32:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2dfb9876-5d8f-44bd-887a-be38c62c33a5</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;&lt;p&gt;
Problem is fixed since a long time already. Keep in mind V6.02 was
released in the year 2000! Now we have 2007.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>