<?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>sujet IDIV pseudocode errors (typos + missing THEN) — SDM Vol. 2A, p. 3-449 (Doc 325462-091) dans Intel® ISA Extensions</title>
    <link>https://community.intel.com/t5/Intel-ISA-Extensions/IDIV-pseudocode-errors-typos-missing-THEN-SDM-Vol-2A-p-3-449-Doc/m-p/1750116#M7181</link>
    <description>&lt;P&gt;In the IDIV instruction "Operation" pseudocode (Vol. 2A, page 3-449, document 325462 rev. 091), the 32-bit and 64-bit branches contain errors. I&lt;BR /&gt;confirmed these by viewing the rendered PDF (not copy-paste artifacts).&lt;/P&gt;&lt;P&gt;1. Typo in the 32-bit remainder assignment&lt;BR /&gt;Printed: EDX := EDXE:AX SignedModulus SRC;&lt;BR /&gt;Should be: EDX := EDX:EAX SignedModulus SRC;&lt;/P&gt;&lt;P&gt;2. Typo in the 64-bit remainder assignment&lt;BR /&gt;Printed: RDX := RDE:RAX SignedModulus SRC;&lt;BR /&gt;Should be: RDX := RDX:RAX SignedModulus SRC;&lt;/P&gt;&lt;P&gt;3. Missing THEN keyword in two branches&lt;BR /&gt;The OperandSize = 8 and OperandSize = 16 branches are written as:&lt;BR /&gt;ELSE IF OperandSize = N ...&lt;BR /&gt;THEN&lt;BR /&gt;temp := ...&lt;BR /&gt;However, the OperandSize = 32 and OperandSize = 64 branches omit the THEN&lt;BR /&gt;keyword — the condition line is followed directly by "temp := EDX:EAX / SRC;"&lt;BR /&gt;and "temp := RDX:RAX / SRC;", breaking the IF/THEN structure used by the&lt;BR /&gt;other two branches.&lt;/P&gt;&lt;P&gt;Evidence for the correct register pairs (EDX:EAX, RDX:RAX): the "temp := ... / SRC;"&lt;BR /&gt;lines immediately above each assignment, Table 3-53 (Dividend column), the&lt;BR /&gt;Description paragraph, and the consistent 8-/16-bit cases&lt;BR /&gt;("AH := AX SignedModulus SRC;", "DX := DX:AX SignedModulus SRC;").&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2026 08:18:15 GMT</pubDate>
    <dc:creator>Vcccc</dc:creator>
    <dc:date>2026-06-04T08:18:15Z</dc:date>
    <item>
      <title>IDIV pseudocode errors (typos + missing THEN) — SDM Vol. 2A, p. 3-449 (Doc 325462-091)</title>
      <link>https://community.intel.com/t5/Intel-ISA-Extensions/IDIV-pseudocode-errors-typos-missing-THEN-SDM-Vol-2A-p-3-449-Doc/m-p/1750116#M7181</link>
      <description>&lt;P&gt;In the IDIV instruction "Operation" pseudocode (Vol. 2A, page 3-449, document 325462 rev. 091), the 32-bit and 64-bit branches contain errors. I&lt;BR /&gt;confirmed these by viewing the rendered PDF (not copy-paste artifacts).&lt;/P&gt;&lt;P&gt;1. Typo in the 32-bit remainder assignment&lt;BR /&gt;Printed: EDX := EDXE:AX SignedModulus SRC;&lt;BR /&gt;Should be: EDX := EDX:EAX SignedModulus SRC;&lt;/P&gt;&lt;P&gt;2. Typo in the 64-bit remainder assignment&lt;BR /&gt;Printed: RDX := RDE:RAX SignedModulus SRC;&lt;BR /&gt;Should be: RDX := RDX:RAX SignedModulus SRC;&lt;/P&gt;&lt;P&gt;3. Missing THEN keyword in two branches&lt;BR /&gt;The OperandSize = 8 and OperandSize = 16 branches are written as:&lt;BR /&gt;ELSE IF OperandSize = N ...&lt;BR /&gt;THEN&lt;BR /&gt;temp := ...&lt;BR /&gt;However, the OperandSize = 32 and OperandSize = 64 branches omit the THEN&lt;BR /&gt;keyword — the condition line is followed directly by "temp := EDX:EAX / SRC;"&lt;BR /&gt;and "temp := RDX:RAX / SRC;", breaking the IF/THEN structure used by the&lt;BR /&gt;other two branches.&lt;/P&gt;&lt;P&gt;Evidence for the correct register pairs (EDX:EAX, RDX:RAX): the "temp := ... / SRC;"&lt;BR /&gt;lines immediately above each assignment, Table 3-53 (Dividend column), the&lt;BR /&gt;Description paragraph, and the consistent 8-/16-bit cases&lt;BR /&gt;("AH := AX SignedModulus SRC;", "DX := DX:AX SignedModulus SRC;").&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 08:18:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-ISA-Extensions/IDIV-pseudocode-errors-typos-missing-THEN-SDM-Vol-2A-p-3-449-Doc/m-p/1750116#M7181</guid>
      <dc:creator>Vcccc</dc:creator>
      <dc:date>2026-06-04T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: IDIV pseudocode errors (typos + missing THEN) — SDM Vol. 2A, p. 3-449 (Doc 325462-091)</title>
      <link>https://community.intel.com/t5/Intel-ISA-Extensions/IDIV-pseudocode-errors-typos-missing-THEN-SDM-Vol-2A-p-3-449-Doc/m-p/1751490#M7186</link>
      <description>&lt;P&gt;Thanks for reporting. It will be fixed in the next SDM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2026 06:41:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-ISA-Extensions/IDIV-pseudocode-errors-typos-missing-THEN-SDM-Vol-2A-p-3-449-Doc/m-p/1751490#M7186</guid>
      <dc:creator>AdyT_Intel</dc:creator>
      <dc:date>2026-06-16T06:41:10Z</dc:date>
    </item>
  </channel>
</rss>

