<?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 Re: NOT RETURNING FROM SUB ROUTINE (PAGE SWITCHING) in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NOT-RETURNING-FROM-SUB-ROUTINE-PAGE-SWITCHING/m-p/203695#M8272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your asm routine use RTC instruction to return? Or indeed RTS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 18:08:16 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2012-02-07T18:08:16Z</dc:date>
    <item>
      <title>NOT RETURNING FROM SUB ROUTINE (PAGE SWITCHING)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NOT-RETURNING-FROM-SUB-ROUTINE-PAGE-SWITCHING/m-p/203694#M8271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using code warrior 5.1 and MC9S12C128.PE MULTILINK DEBUGGER.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My application calls as subroutine which is in assembly file (page 0 /ROM C000) FROM PAGE 38.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i do single step PPAGE is updated with 0 and after completion of subroutine the control is not coming back to PAGE 38(PAGE SWITCING).&lt;/P&gt;&lt;P&gt;I would get ILLEGAL_BP error.&lt;/P&gt;&lt;P&gt;i have enough stack space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell what would be the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Embitel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NOT-RETURNING-FROM-SUB-ROUTINE-PAGE-SWITCHING/m-p/203694#M8271</guid>
      <dc:creator>embitel</dc:creator>
      <dc:date>2012-02-07T16:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: NOT RETURNING FROM SUB ROUTINE (PAGE SWITCHING)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NOT-RETURNING-FROM-SUB-ROUTINE-PAGE-SWITCHING/m-p/203695#M8272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your asm routine use RTC instruction to return? Or indeed RTS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 18:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NOT-RETURNING-FROM-SUB-ROUTINE-PAGE-SWITCHING/m-p/203695#M8272</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-02-07T18:08:16Z</dc:date>
    </item>
  </channel>
</rss>

