<?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/"><channel><title>SuleimanTheMagnificent's Activities</title><link>https://community.arm.com/members/suleimanthemagnificent</link><description>SuleimanTheMagnificent's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>LED with button</title><link>https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/48024/led-with-button</link><pubDate>Tue, 10 Nov 2020 16:48:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a5b28a67-2d7e-4c90-b7e8-c36464fb3608</guid><dc:creator>SuleimanTheMagnificent</dc:creator><description>&lt;p&gt;I am using the STM32 G031K8 ARM CORTEX-M0 + development board.&lt;/p&gt;
&lt;p&gt;I am writing my code in Assembly language.&lt;/p&gt;
&lt;p&gt;I want the LED to light up when I add an external button and press this button. I have adjusted the Clock settings and GPIOx settings. I set the pin that the button is connected to as input.&lt;/p&gt;
&lt;p&gt;With which instruction can I get data from the button?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Return Values</title><link>https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/47984/return-values</link><pubDate>Thu, 05 Nov 2020 18:47:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a70e82aa-c4c9-41f0-a735-bb22a2bf98b9</guid><dc:creator>SuleimanTheMagnificent</dc:creator><description>&lt;p&gt;How does the returned value from a function is handled in Assembly?&lt;/p&gt;
&lt;p&gt;Please give an simple example.&lt;/p&gt;
&lt;p&gt;(e.g. int func ( int a ) { ... return x ; } ) ( Example for C)&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://community.arm.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Thu, 05 Nov 2020 02:42:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:191163ae-ec16-48c1-a867-54608f8d7b02</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Function Calls</title><link>https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/47983/function-calls</link><pubDate>Thu, 05 Nov 2020 18:44:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b4050d8a-159d-4e97-b674-2b11f4e6d577</guid><dc:creator>SuleimanTheMagnificent</dc:creator><description>&lt;p&gt;For Cortex M0+, what registers are used when a C function is called with;&lt;/p&gt;
&lt;p&gt;1 parameter&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2 parameters.&lt;/p&gt;
&lt;p&gt;Please give &lt;span&gt;a simple example for&amp;nbsp;&lt;/span&gt;each case&amp;nbsp; (both C and Assembly).&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>