[Nasm-bugs] [Bug 3392642] Opcodes 83h /1, /4 and /6 ib are only available on 386 and newer.

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Jan 6 04:06:21 PST 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392642

--- Comment #3 from C. Masloch <pushbx at ulukai.org> ---
> However logic operations OR, AND and XOR do not have opcodes where sw would be equal to 11 (the closest listed opcode is 1000000w where implied s is always 0). In other words 83h is not listed as a valid opcode for these logic operations. I guess Figure 1-29 doesn't go into this much detail.

XOR lists 0011 010w twice there. That is probably in error. Anyway, all the
listed XOR forms start with a hex digit 3. If this meant the 8086 did not have
forms not listed there, then 80 /6 should also not be an 8086 instruction. But
http://ref.x86asm.net/coder32.html#x80 does list 80 /6 without a minimum
processor level.

https://www.archive.ece.cmu.edu/~ece740/f11/lib/exe/fetch.php?media=wiki:8086-datasheet.pdf
does (on page 28 of 30) list XOR with the forms 001100dw, 1000000w, and
0011010w. This does include 80 /6 and 81 /6, but not 82 /6. Again, the
x86asm.net reference lists 82 /6 as an instruction for 8086 processors.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list