<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: mcf5271</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134683#M1493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;When reading or writing data, you can transfer byte, 2-byte or 4-byte quanties (ColdFire calls these Byte, Word and Long).&lt;BR /&gt;&lt;BR /&gt;Instruction widths are either 2, 4 or 6 bytes. The PC thus increments by 2, 4, or 6 each time a non-branch instruction is executed. Groups of instructions may be fetched from memory in a burst transfer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2007 15:57:27 GMT</pubDate>
    <dc:creator>SimonMarsden_de</dc:creator>
    <dc:date>2007-05-24T15:57:27Z</dc:date>
    <item>
      <title>mcf5271</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134682#M1492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is MCF5271 a byte addressable processor? If I am dealing with 32 bit data, does the program counter increment by 4?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 02:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134682#M1492</guid>
      <dc:creator>Anand</dc:creator>
      <dc:date>2007-05-24T02:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: mcf5271</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134683#M1493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;When reading or writing data, you can transfer byte, 2-byte or 4-byte quanties (ColdFire calls these Byte, Word and Long).&lt;BR /&gt;&lt;BR /&gt;Instruction widths are either 2, 4 or 6 bytes. The PC thus increments by 2, 4, or 6 each time a non-branch instruction is executed. Groups of instructions may be fetched from memory in a burst transfer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 15:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134683#M1493</guid>
      <dc:creator>SimonMarsden_de</dc:creator>
      <dc:date>2007-05-24T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: mcf5271</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134684#M1494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Simon,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your reply. I am dealing with 32 bit data. So everytime I fetch 32 bits of data, the program counter would increment by 4 right??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 23:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134684#M1494</guid>
      <dc:creator>Anand</dc:creator>
      <dc:date>2007-05-24T23:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: mcf5271</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134685#M1495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Anand&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What do you mean by "everytime I fetch 32 bits of data"?&amp;nbsp;Are you are talking about loading a register with data or dereferencing or incrementing a C pointer?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The program counter increments as each intruction is executed by the CPU and as Simon said, the instruction length is variable so the program counter can be incremented&amp;nbsp; by 2, 4 or 6 bytes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We may be able to be clearer if you could show some source code that you need to have explained.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Paul.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 15:18:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134685#M1495</guid>
      <dc:creator>mccPaul</dc:creator>
      <dc:date>2007-05-25T15:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: mcf5271</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134686#M1496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Anand&lt;BR /&gt;&lt;BR /&gt;I think you might be confusing two separate concepts - the program instructions (opcodes) in memory telling the processor what to do, and the data that the program operates on.&lt;BR /&gt;&lt;BR /&gt;The Program Counter (PC) points to the next opcode to execute. Each time a new instruction is executed, it will increment by 2, 4 or 6 depending on the width of the instruction.&lt;BR /&gt;&lt;BR /&gt;Separate from that, the processor can also read and write data. It can do this in byte, word or long-word transfers. There are many instructions capable of fetching 32-bit data from memory. Here are just a few:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.l&amp;nbsp;&amp;nbsp; (a0),d0&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.l&amp;nbsp;&amp;nbsp; 4(a3),d0&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.l&amp;nbsp;&amp;nbsp; fred(a2,d1.l*8),d0&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add.l&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mydata,d0&lt;BR /&gt;&lt;BR /&gt;All of these fetch 32 bits of data (the width is specified as xxx.L in each instruction). However, the widths of the instruction opcodes vary, and so the PC will increment by a variable amount.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 15:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5271/m-p/134686#M1496</guid>
      <dc:creator>SimonMarsden_de</dc:creator>
      <dc:date>2007-05-25T15:27:42Z</dc:date>
    </item>
  </channel>
</rss>

