<?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>8-bit Microcontrollers中的主题 structure alignment on HCS08 uC</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/structure-alignment-on-HCS08-uC/m-p/201141#M16466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using MC9S08DZ60 uC.&lt;/P&gt;&lt;P&gt;Are the structures always aligned to the 1 byte boundary? &amp;nbsp;Meaning the sizeof operator will always yield the size of data members, no padding bytes? Am I right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 14:31:20 GMT</pubDate>
    <dc:creator>akasilov</dc:creator>
    <dc:date>2010-05-18T14:31:20Z</dc:date>
    <item>
      <title>structure alignment on HCS08 uC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/structure-alignment-on-HCS08-uC/m-p/201141#M16466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using MC9S08DZ60 uC.&lt;/P&gt;&lt;P&gt;Are the structures always aligned to the 1 byte boundary? &amp;nbsp;Meaning the sizeof operator will always yield the size of data members, no padding bytes? Am I right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 14:31:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/structure-alignment-on-HCS08-uC/m-p/201141#M16466</guid>
      <dc:creator>akasilov</dc:creator>
      <dc:date>2010-05-18T14:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: structure alignment on HCS08 uC</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/structure-alignment-on-HCS08-uC/m-p/201142#M16467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you are using CodeWarrior compiler for building. Am I right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is the case, yes, there is no alignment constraint applying to ANSI C structure on HCS08 microcontrollers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 19:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/structure-alignment-on-HCS08-uC/m-p/201142#M16467</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-05-18T19:45:21Z</dc:date>
    </item>
  </channel>
</rss>

