[Nasm-bugs] [Bug 3392553] Write source for AND but NASM produces ADD

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Fri Feb 1 15:15:27 PST 2019


Chang S. Bae <chang.seok.bae at intel.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |WORKSFORME
             Status|OPEN                        |CLOSED

--- Comment #1 from Chang S. Bae <chang.seok.bae at intel.com> ---
I don't think it's a bug.

If you set -O0, it will assemble as you wanted. It simply (somehow) optimizes
as the immediate value is in 8-bit. If an immediate value is 0x4000 for
example, 0x25 opcode will be picked, regardless of -Ox option.

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

More information about the Nasm-bugs mailing list