<?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>K&amp;amp;R style parameter lists and register banks/masks</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19311/k-r-style-parameter-lists-and-register-banks-masks</link><description> hi, since ansi-c allows k&amp;amp;r style parameter lists which look something like this 
 
int my_function(arg0, arg1)
 int arg0;
 char arg1;
{
 /* code */
}
 
 
i was wondering how the keil c166 compiler handles these in combination with register banks and</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: K&amp;R style parameter lists and register banks/masks</title><link>https://community.arm.com/thread/73709?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2005 06:51:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4a9d7a79-666a-4f07-afec-81dc78dc2fdb</guid><dc:creator>Alexander Floh</dc:creator><description>&lt;p&gt;thanks for the response,&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Why bother? There&amp;#39;s quite exactly no valid reason at all to use that deprecated parameter list format, so it&amp;#39;s completely irrelevant what consequences using it might have.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
true, but I have to implement a parser which should have the same behaviour the keil parser has (at least as far as possible), therefore it would be great to know how the keil behaves in this special case. (especially since keil seems to handle the situations inconsitently, it allows a register mask + declaration list, but it doesn&amp;#39;t allow a register bank + declaration list)&lt;br /&gt;
&lt;br /&gt;
alexander floh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: K&amp;R style parameter lists and register banks/masks</title><link>https://community.arm.com/thread/45214?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2005 06:06:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:627bd8f3-d2a6-42ac-8045-16dbd216896b</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;i&gt;hi, since ansi-c allows k&amp;amp;r style parameter lists which look something like this&lt;br /&gt;
[...]&lt;br /&gt;
i was wondering how the keil c166 compiler handles these in combination with register banks and masks.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Why bother?  There&amp;#39;s quite exactly no valid reason at all to use that deprecated parameter list format, so it&amp;#39;s completely irrelevant what consequences using it might have.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>