[Nasm-devel] Wrong encoding xchg

chikangxi chikangxi at hotmail.com
Mon Nov 29 21:57:05 PST 2021

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.

On 28/11/2021 17:01, romek.globescs at wp.pl wrote:
> Hi,
> It seems nasm is wrong encoding XCHG AL, BL (and similar). It is 86C3, 
> but it should be 86D8.
> Romek
> _______________________________________________
> Nasm-devel mailing list
> Nasm-devel at nasm.us
> https://lists.nasm.us/nasm-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nasm.us/archives/nasm-devel/attachments/20211130/a3c83675/attachment.htm>

More information about the Nasm-devel mailing list