<?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>Please xplain</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27619/please-xplain</link><description> 
 259 c1_tx_fifo_in_gc++;
 \ 0000001C .... LDI R30, LOW(c1_tx_fifo_in_gc)
 \ 0000001E .... LDI R31, HIGH(c1_tx_fifo_in_gc)
 \ 00000020 .... LDI R19, (c1_tx_fifo_in_gc) &amp;gt;&amp;gt; 16
 \ 00000022 BF3B OUT 0x3B, R19
 \ 00000024 8100 LD R16, Z
 \ 00000026 9503 INC</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/119473?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2011 04:23:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e471f171-7d09-48e3-a13d-11f43d6d495b</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;I am concerned of assemly because, in my program I am trying to
send some data out through USART using buffres.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
That reasoning doesn&amp;#39;t work. That is &lt;b&gt;no&lt;/b&gt; reason to start
worrying about assembly code. More so if you don&amp;#39;t know enough
assembly to be able to do that yourself.&lt;/p&gt;

&lt;p&gt;
If you want to worry about something, worry about the code
&lt;b&gt;you&lt;/b&gt; wrote, not about the code the compiler created out of
it.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;But , there is no proper data from USART as I expected (i.e., I
am not getting, that I have sent).&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Telling us what you &lt;b&gt;don&amp;#39;t&lt;/b&gt; get doesn&amp;#39;t help anyone solve
your problem. What &lt;b&gt;do&lt;/b&gt; you get, instead? What is not &amp;quot;proper&amp;quot;
about that?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/130855?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2011 02:16:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:022316c4-0a7a-43a1-b8d2-a5cbdf64d14f</guid><dc:creator>Scripture k</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear Neil and Per , Thanks for your suggestions..&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/127094?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2011 00:36:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3a7d38d7-845a-4a45-af11-0eb4e5f91ee8</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Note that (this is C code, not assembler) having an 8-bit index
variable for spanning a 2^8 element large FIFO isn&amp;#39;t so fun. No fun
at all.&lt;/p&gt;

&lt;p&gt;
You have an array that can store 0 to 256 elements - which is 257
alternatives.&lt;br /&gt;
You have an index pointer that can store 0 to 255 values - which is
256 alternatives.&lt;/p&gt;

&lt;p&gt;
Dropping down to decoding the assembler instructions isn&amp;#39;t the
first step to do when something doesn&amp;#39;t work. It takes understanding
to catch a bug, and many times that understanding works better on the
C code where a compiler haven&amp;#39;t added lots of noise while trying to
remap your ideas into efficient sequences of instructions.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/119470?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2011 23:17:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5bbc82d3-bc82-4b14-8f6b-a3f79654f63f</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Do you really think that the most likely reason for that lies in
the assembly code that the compiler has generated?&lt;/p&gt;

&lt;p&gt;
Do you not think that it is far more likely to be something wrong
with &lt;i&gt;&lt;b&gt;your&lt;/b&gt;&lt;/i&gt; &amp;#39;C&amp;#39; code...?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.catb.org/~esr/faqs/smart-questions.html#id478549"&gt;www.catb.org/.../smart-questions.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Have you successfully got a simple &amp;quot;Hello World&amp;quot; program to work -
thus demonstrating that you can correctly configure and use the
UART?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4/uv4_ex_hello.htm"&gt;http://www.keil.com/support/man/docs/uv4/uv4_ex_hello.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/gsac/"&gt;http://www.keil.com/support/man/docs/gsac/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
What &lt;b&gt;Debugging&lt;/b&gt; have you done?&lt;/p&gt;

&lt;p&gt;
What did you discover?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/105274?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2011 22:33:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:294464f7-59a5-4235-be3c-1eb41eb2c882</guid><dc:creator>Scripture k</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for your replys..&lt;/p&gt;

&lt;p&gt;
I am concerned of assemly because, in my program I am trying to
send some data out through USART using buffres. Here I have taken
buffer range upto 256 bytes. But , there is no proper data from USART
as I expected (i.e., I am not getting, that I have sent). so, I am
trying to understand the assembly routines.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/116500?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2011 07:52:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4d33601d-40f0-4972-bc9d-406b7579c047</guid><dc:creator>rank amateur</dc:creator><description>&lt;p&gt;&lt;p&gt;
More like AVR.&lt;/p&gt;

&lt;p&gt;
Always good to ask a question on the most appropriate forum.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/105272?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2011 07:50:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:99d0117c-3873-4b23-b11d-01a436540057</guid><dc:creator>rank amateur</dc:creator><description>&lt;p&gt;&lt;p&gt;
ARM is it?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/91221?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2011 07:45:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:016fa15d-d674-427e-af92-7234065e6496</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Why are you particularly concerned about the assembler?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please xplain</title><link>https://community.arm.com/thread/59836?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2011 07:38:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:58e84084-dcd6-4bba-9050-f558852294cd</guid><dc:creator>Scripture k</dc:creator><description>&lt;p&gt;&lt;p&gt;
In the above post, the &amp;#39;MAX_TX_FIFO&amp;#39; is 256 (#define MAX_TX_FIFO
256). And &amp;#39;c1_tx_fifo_in_gc&amp;#39; is of &amp;#39;unsigned char&amp;#39; datatype.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>