<?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: protected mode initialization in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898196#M10561</link>
    <description>&lt;P&gt;MASM doesn't seem to recognize the LGDT instruction.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2006 00:33:25 GMT</pubDate>
    <dc:creator>mike931201</dc:creator>
    <dc:date>2006-12-05T00:33:25Z</dc:date>
    <item>
      <title>protected mode initialization</title>
      <link>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898194#M10559</link>
      <description>I'm trying to compile the protected mode initialization example from &lt;BR /&gt;the Intel Software Developer's Manual Volume 3A using MASM, but I'm &lt;BR /&gt;getting some errors I don't know how to fix. &lt;BR /&gt;
&lt;P&gt;I put the code at: &lt;BR /&gt;
&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.coolgroups.com/asm/pm5.asm" target="_blank"&gt;&lt;FONT color="#551a8b"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www" target="_blank"&gt;http://www&lt;/A&gt;.&lt;B style="COLOR: black; BACKGROUND-COLOR: #ffff66"&gt;coolgroups&lt;/B&gt;&lt;FONT color="#551a8b"&gt;.com/asm/pm5.asm&lt;/FONT&gt; &lt;BR /&gt;
&lt;/P&gt;&lt;P&gt;If anyone has tips on how to get it working, I'd appreciate it.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2006 14:34:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898194#M10559</guid>
      <dc:creator>mike931201</dc:creator>
      <dc:date>2006-11-20T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: protected mode initialization</title>
      <link>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898195#M10560</link>
      <description>&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;Hi Mike,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;What errors are you receiving?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;(for those following along, the developer manuals are here: &lt;/FONT&gt;&lt;A href="http://developer.intel.com/products/processor/manuals/index.htm"&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://developer.intel.com/products/processor/manuals/index.htm" target="_blank"&gt;http://developer.intel.com/products/processor/manuals/index.htm&lt;/A&gt;&lt;FONT face="Arial" size="2"&gt;) &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;==&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;Lexi S.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;IntelSoftware NetworkSupport&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;A href="http://www.intel.com/software"&gt;http://www.intel.com/software&lt;/A&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;A href="http://www.intel.com/cd/ids/developer/asmo-na/eng/58987.htm"&gt;Contact us&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2006 08:58:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898195#M10560</guid>
      <dc:creator>Intel_Software_Netw1</dc:creator>
      <dc:date>2006-11-21T08:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: protected mode initialization</title>
      <link>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898196#M10561</link>
      <description>&lt;P&gt;MASM doesn't seem to recognize the LGDT instruction.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2006 00:33:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898196#M10561</guid>
      <dc:creator>mike931201</dc:creator>
      <dc:date>2006-12-05T00:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: protected mode initialization</title>
      <link>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898197#M10562</link>
      <description>&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;One member of our engineering team suggests that youtry adding this macro toyour file:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px"&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;LGDT macro mem:req&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;local x,y&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;x:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt; prefetchnt1 mem&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;y:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt; org x&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt; byte  0fh&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt; byte  01h&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt; org y&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;endm&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;Another member of our engineering team responded as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;As of MSVC 2005 in both the 32-bit ml.exe and 64-bit cross-tools ml64.exe, the followingworks just fine when using LGDT... key is to use "FWORD PTR" as operand size modifier and when doing this in 32-bit code, also include ".686P" assembler pseudo-op to enable privileged instructions. Results in same opcode, i.e. 0F 01, being emitted in both 64-bit mode and compatibility/legacy mode. Also, please make sure that section 9.8 of &lt;/FONT&gt;&lt;A href="http://developer.intel.com/products/processor/manuals/index.htm"&gt;&lt;FONT color="#000080"&gt;Intel 64 and IA-3
2 Architectures Software Developer's Manual Volume 3A: System Programming Guide&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#000080"&gt; and related sections are well understood, as there are implications in order in which steps must be done when altering protected mode operation.&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;==&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;Lexi S.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;IntelSoftware NetworkSupport&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;A href="http://www.intel.com/software"&gt;http://www.intel.com/software&lt;/A&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;A href="http://www.intel.com/cd/ids/developer/asmo-na/eng/58987.htm"&gt;Contact us&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:23:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/protected-mode-initialization/m-p/898197#M10562</guid>
      <dc:creator>Intel_Software_Netw1</dc:creator>
      <dc:date>2006-12-05T08:23:49Z</dc:date>
    </item>
  </channel>
</rss>

