<?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>S12 / MagniV Microcontrollers中的主题 Re: Different struct size in S12X and XGATE code</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136860#M2464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;Thanks very much. That's what I need :smileyhappy:&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2006 01:00:04 GMT</pubDate>
    <dc:creator>pittbull</dc:creator>
    <dc:date>2006-05-25T01:00:04Z</dc:date>
    <item>
      <title>Different struct size in S12X and XGATE code</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136858#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a header file that contains a struct declaration. This file is #included in both, S12X and XGATE codes. When I build them, the linker shows a warning message, something like "object 'x' has different size in a.c and b.cxgate". I think it is because XGATE needs struct members at even boundaries whereas S12 can access them from any address. Is there a #pragma to force structs to even boundaries?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136858#M2462</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-05-23T16:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Different struct size in S12X and XGATE code</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136859#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;The following is an quote from the CW for S12 v. 4.5 help file:&lt;/P&gt;&lt;PRE&gt;#pragma align  (on|off)&lt;/PRE&gt;&lt;A target="_blank"&gt;&lt;/A&gt;&lt;A target="_blank"&gt;&lt;/A&gt;Synonym&lt;A target="_blank"&gt;&lt;/A&gt;&lt;P&gt;None.&lt;/P&gt;&lt;A target="_blank"&gt;&lt;/A&gt;Arguments&lt;A target="_blank"&gt;&lt;/A&gt;&lt;P&gt;on: the HCS12X compiler uses the same alignment as the XGATE compiler&lt;BR /&gt;off: the HCS12X compiler uses no alignment&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 17:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136859#M2463</guid>
      <dc:creator>Sten</dc:creator>
      <dc:date>2006-05-23T17:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Different struct size in S12X and XGATE code</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136860#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;Thanks very much. That's what I need :smileyhappy:&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 01:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Different-struct-size-in-S12X-and-XGATE-code/m-p/136860#M2464</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-05-25T01:00:04Z</dc:date>
    </item>
  </channel>
</rss>

