<?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>topic What is r13 used for in PowerPC architecture in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/What-is-r13-used-for-in-PowerPC-architecture/m-p/791716#M6950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning, everyone:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Codewarrior ver8.8 for debuging the MPC855T. I have found that in the interrupt processing function, once after restoring the r13, when it reach a global variation, the debug would send an Exception, which is a Machine check Exception. So what is the r13 used for, and how would restoring it cause the exception?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also refer to the new found project. In the group runtime, there is a Interrupt vector file eppc_exception.asm. And found that the saved and restored GPRs not including the r13-r31. As I know, r14-r31 is the temporary registers, non-volatile.When an interrupt occurs, how protect the registers from altering? Does&amp;nbsp;the Codewarrior compiler add some codes to save them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any discussion and reply will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jinyu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2018 02:06:16 GMT</pubDate>
    <dc:creator>jinyu_zhang</dc:creator>
    <dc:date>2018-08-16T02:06:16Z</dc:date>
    <item>
      <title>What is r13 used for in PowerPC architecture</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/What-is-r13-used-for-in-PowerPC-architecture/m-p/791716#M6950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning, everyone:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Codewarrior ver8.8 for debuging the MPC855T. I have found that in the interrupt processing function, once after restoring the r13, when it reach a global variation, the debug would send an Exception, which is a Machine check Exception. So what is the r13 used for, and how would restoring it cause the exception?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also refer to the new found project. In the group runtime, there is a Interrupt vector file eppc_exception.asm. And found that the saved and restored GPRs not including the r13-r31. As I know, r14-r31 is the temporary registers, non-volatile.When an interrupt occurs, how protect the registers from altering? Does&amp;nbsp;the Codewarrior compiler add some codes to save them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any discussion and reply will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jinyu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 02:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/What-is-r13-used-for-in-PowerPC-architecture/m-p/791716#M6950</guid>
      <dc:creator>jinyu_zhang</dc:creator>
      <dc:date>2018-08-16T02:06:16Z</dc:date>
    </item>
  </channel>
</rss>

