<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>This is because XCHG has two similar encoding: xchg reg, m/r
and xchg m/r,reg. So 86c3 and 86d8 all is exchange contents
of AL and BL.<br>
</p>
<div class="moz-cite-prefix">On 28/11/2021 17:01,
<a class="moz-txt-link-abbreviated" href="mailto:romek.globescs@wp.pl">romek.globescs@wp.pl</a> wrote:<br>
</div>
<blockquote type="cite" cite="mid:f81447f63e134f5689c2bc6b913eff1f@grupawp.pl">
<div>Hi,<br>
</div>
<div><br>
</div>
<div>It seems nasm is wrong encoding XCHG AL, BL (and similar). It
is 86C3, but it should be 86D8.<br>
</div>
<div><br>
</div>
<div>Romek</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Nasm-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nasm-devel@nasm.us">Nasm-devel@nasm.us</a>
<a class="moz-txt-link-freetext" href="https://lists.nasm.us/nasm-devel">https://lists.nasm.us/nasm-devel</a>
</pre>
</blockquote>
</body>
</html>