<?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>can&amp;#39;t convert a Rabbit Instruction</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18978/can-t-convert-a-rabbit-instruction</link><description> I have a program I am converting from a Rabbit Dynamic C to Keil Arm C and cant get this one intruction to work.At first it only had a routine warning about implicit function but then I tried to add a function template at the start and cant seem to get</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/144115?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 13:37:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:170b12d5-399e-439b-9405-ea54fe4c89c1</guid><dc:creator>Karl Hamsher</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;Just to let you know that doing item 3 worked (casting). Thanks for the help.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks for the feedback and you&amp;#39;re welcome.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;Maybe I can leave the rabbit patch behind.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve done a little Rabbit development myself.  Too bad Dynamic C isn&amp;#39;t closer to &amp;quot;real&amp;quot; C.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/141613?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 13:27:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e692507a-36d6-488c-a836-ae4cdf383466</guid><dc:creator>David Mayotte</dc:creator><description>&lt;p&gt;Just to let you know that doing item 3 worked (casting). Thanks for the help.Maybe I can leave the rabbit patch behind.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/138194?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 13:05:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:25d4be48-80d8-4887-bf61-3598af2c988b</guid><dc:creator>Karl Hamsher</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;That&amp;#39;s a bit of a stretch for me.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Then I&amp;#39;ll be a little more specific.&lt;br /&gt;
&lt;br /&gt;
Do one of these things:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If all of the strings passed to vmsgo() are &amp;#39;const&amp;#39;, then change vmsgo&amp;#39;s parameter type in the declaration (prototype) and definition to &amp;quot;const char *&amp;quot;.&lt;/li&gt;
&lt;li&gt;Otherwise, remove &amp;#39;const&amp;#39; from the string definitions.  However, you may have a good reason for using &amp;#39;const&amp;#39; (e.g., to allocate the strings in ROM)...&lt;/li&gt;
&lt;li&gt;... in which case, cast msgb&amp;#39;s type in the vmsgo() calls.&lt;pre&gt;vmsgo((char*)msgb);&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/130034?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:42:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:815f7d22-d317-41af-a8fb-0303b6628133</guid><dc:creator>David Mayotte</dc:creator><description>&lt;p&gt;That&amp;#39;s a bit of a stretch for me. I am basically an assembler guy. That why I use the Rabbit when I must do C. I was hoping to upgrade to Keil but it might be a bit much. I am about halfway in converting a 4000 statement rabbit program and this was the first &amp;quot;toughie&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/123200?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:21:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7d791cf3-4c97-425a-b1f8-ce47ccf8071a</guid><dc:creator>Karl Hamsher</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;actually the message did change a little ...&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;A little&amp;quot; to you perhaps.  It&amp;#39;s significant to me.&lt;br /&gt;
&lt;br /&gt;
This is all basic &amp;#39;C&amp;#39; stuff.  Do one of these things:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Change vmsgo&amp;#39;s parameter type.&lt;/li&gt;
&lt;li&gt;Change msgb&amp;#39;s type.&lt;/li&gt;
&lt;li&gt;Cast msgb&amp;#39;s type in the vmsgo() call.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/112029?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:15:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f6856bb0-decc-477c-96d4-94c3e428980f</guid><dc:creator>David Mayotte</dc:creator><description>&lt;p&gt;that line you suggested I change is the error line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/112028?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:13:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:29561833-3201-4cd8-8c21-f807a73516ea</guid><dc:creator>David Mayotte</dc:creator><description>&lt;p&gt;actually the message did change a little to A8500.C(1087): error:  #167: argument of type &amp;quot;const char *&amp;quot; is incompatible with parameter of type &amp;quot;char *&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/97988?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:09:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a1108423-6346-4857-9ec9-4e087e17657e</guid><dc:creator>Karl Hamsher</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;8500.C(1075): error: #167 ...&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Which line is this referring to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/97991?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:06:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:72f3128c-cc29-4dfe-98ed-2b54b57074be</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;i&gt;change didn&amp;#39;t have any effect.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m close to 100% certain that observation is not true.  At the very minimum, it&amp;#39;ll change the error message you get.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/73966?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 12:02:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:35fa6be9-80db-4ec2-b143-5dda5ee17ad9</guid><dc:creator>David Mayotte</dc:creator><description>&lt;p&gt;sorry. Also, that change didn&amp;#39;t have any effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't convert a Rabbit Instruction</title><link>https://community.arm.com/thread/45886?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2006 11:42:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9bbf981f-e858-4c77-9dba-d61669eab3e3</guid><dc:creator>Karl Hamsher</dc:creator><description>&lt;p&gt;There were instructions above the box where you entered your post about posting source code.  Please follow them next time.&lt;br /&gt;
&lt;br /&gt;
Anyhow, this line:&lt;br /&gt;
&lt;pre&gt;vmsgo(&amp;amp;msgb); //L=&lt;/pre&gt;
should be:&lt;br /&gt;
&lt;pre&gt;vmsgo(msgb); //L=&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>