<p>I ran into a minor problem because I had to rewrite some code, as I&#39;d written &quot;MOV DS,CS&quot; which won&#39;t work: you can only move to segment registers like DS from general purpose registers.</p><p>So I rewrote it as:<br />MOV AX, CS<br />MOV CS, AX </p><p>Yeah that second line is a typo. I typed CS instead of DS. CS is where it gets instructions from, so the x86 will not let you write to it, although the encoding allows it. So yeah, that didn&#39;t work, it triggered a CPU fault</p>
Reply