<?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>MPC5xxxのトピックVariable-Length Encoding (VLE) register rules</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390895#M511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been working on a VLE project (written in asm) and I am running in to an annoying issue with certain registers not able to perform tasks.&lt;/P&gt;&lt;P&gt;For example, a simple compare command...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;se_cmp&amp;nbsp; r29,r26&amp;nbsp; &amp;lt;&amp;lt; That is ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;se_cmp&amp;nbsp; r29,r10&amp;nbsp; &amp;lt;&amp;lt; That creates an error 'Invalid register specified".&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the VLE reference manual but I cannot find where it discusses what combination of registers are valid to use in situations like this.&lt;/P&gt;&lt;P&gt;Does anyone have any pointers?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 23:07:01 GMT</pubDate>
    <dc:creator>Bloodhound</dc:creator>
    <dc:date>2015-03-17T23:07:01Z</dc:date>
    <item>
      <title>Variable-Length Encoding (VLE) register rules</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390895#M511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been working on a VLE project (written in asm) and I am running in to an annoying issue with certain registers not able to perform tasks.&lt;/P&gt;&lt;P&gt;For example, a simple compare command...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;se_cmp&amp;nbsp; r29,r26&amp;nbsp; &amp;lt;&amp;lt; That is ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;se_cmp&amp;nbsp; r29,r10&amp;nbsp; &amp;lt;&amp;lt; That creates an error 'Invalid register specified".&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the VLE reference manual but I cannot find where it discusses what combination of registers are valid to use in situations like this.&lt;/P&gt;&lt;P&gt;Does anyone have any pointers?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 23:07:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390895#M511</guid>
      <dc:creator>Bloodhound</dc:creator>
      <dc:date>2015-03-17T23:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Variable-Length Encoding (VLE) register rules</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390896#M512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;copied from &lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/VLEPEM.pdf" title="http://cache.freescale.com/files/32bit/doc/ref_manual/VLEPEM.pdf"&gt;http://www.freescale.com/files/32bit/doc/ref_manual/VLEPEM.pdf&lt;/A&gt; , page 23:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"VLE instructions use GPRs and SPRs with the following limitations:&lt;/P&gt;&lt;P&gt;• Most VLE instructions using 16-bit formats are limited to addressing GPR0–GPR7 and&lt;/P&gt;&lt;P&gt;GPR24–GPR31. Move instructions are provided to transfer register contents between these&lt;/P&gt;&lt;P&gt;registers and GPR8–GPR23.&lt;/P&gt;&lt;P&gt;• VLE compare and bit test instructions using the 16-bit formats implicitly set their results in CR0."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's because there are only 4 bits to specify a GPR in VLE instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:02:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390896#M512</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-03-18T14:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variable-Length Encoding (VLE) register rules</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390897#M513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks Lukas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 01:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Variable-Length-Encoding-VLE-register-rules/m-p/390897#M513</guid>
      <dc:creator>Bloodhound</dc:creator>
      <dc:date>2015-03-27T01:21:46Z</dc:date>
    </item>
  </channel>
</rss>

