<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MCUXpresso IDEのトピックRe: Newbie question about SP, LR etc. values in debugger</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1557200#M8577</link>
    <description>&lt;P&gt;Thanks for the replies. When I step over ASM instructions such as push/pop the value for SP in the registers windows does not change, nor does the memory it points to. I appreciate your response. Not sure what to do next. I'll assume it's some kind of user error on my end. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 13:21:21 GMT</pubDate>
    <dc:creator>funbotix</dc:creator>
    <dc:date>2022-11-21T13:21:21Z</dc:date>
    <item>
      <title>Newbie question about SP, LR etc. values in debugger</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1553499#M8550</link>
      <description>&lt;P&gt;After having used KEIL's uVision IDE for decades, I've recently begun using MCUXpresso. While debugging and stepping through disassembly code, the way the SP, PC, LR, etc. values behave in the debugger's register window doesn't make sense to me. For example, when doing push or pop operations I expected the value of the SP to change, but it doesn't. Similarly, when looking at a memory monitor window centered around where the stack pointer is pointing, I expected to see values changing there when push operations occurred, but they don't. Is my expectation wrong, or am I [most likely] doing something wrong while stepping through this code, or is it something else?&lt;/P&gt;&lt;P&gt;FWIW, I'm using v11.4.1 [Build6260] of the IDE in a project for an imxrt1062 device.&lt;/P&gt;&lt;P&gt;Confused.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 20:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1553499#M8550</guid>
      <dc:creator>sodacan</dc:creator>
      <dc:date>2022-11-14T20:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question about SP, LR etc. values in debugger</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1554581#M8553</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;When I use MCUXpresso v11.6.1 debug code, I can see registers change when I step over the code. see below in register window&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1668583022947.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200530iDF804451033B05AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1668583022947.png" alt="ZhangJennie_0-1668583022947.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please let me know how to reproduce your problem?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 07:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1554581#M8553</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-11-16T07:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question about SP, LR etc. values in debugger</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1557092#M8574</link>
      <description>&lt;P&gt;There are several types of stepping and you do not mention which one you use. SP/PC/LR do update if the instructions being stepped actually have side effects on these registers. For example, in the screenshots below you can see the SP/PC values before and after executing a &lt;EM&gt;single step &lt;/EM&gt;over the "push" instruction seen in Disassembly view. The memory area around SP value also gets updated. Note that I activated single stepping using the highlighted icon from Debug view.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lpcxpresso_supp_0-1669024851501.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201103i548B96A78C795FB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lpcxpresso_supp_0-1669024851501.png" alt="lpcxpresso_supp_0-1669024851501.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lpcxpresso_supp_1-1669024914238.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201104i5BFEB07F33F8831F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lpcxpresso_supp_1-1669024914238.png" alt="lpcxpresso_supp_1-1669024914238.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;MCUXpresso IDE Support&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 10:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1557092#M8574</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2022-11-21T10:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question about SP, LR etc. values in debugger</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1557200#M8577</link>
      <description>&lt;P&gt;Thanks for the replies. When I step over ASM instructions such as push/pop the value for SP in the registers windows does not change, nor does the memory it points to. I appreciate your response. Not sure what to do next. I'll assume it's some kind of user error on my end. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 13:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1557200#M8577</guid>
      <dc:creator>funbotix</dc:creator>
      <dc:date>2022-11-21T13:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question about SP, LR etc. values in debugger</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1560649#M8589</link>
      <description>&lt;P&gt;How can I mark this as closed?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 13:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Newbie-question-about-SP-LR-etc-values-in-debugger/m-p/1560649#M8589</guid>
      <dc:creator>funbotix</dc:creator>
      <dc:date>2022-11-28T13:24:58Z</dc:date>
    </item>
  </channel>
</rss>

