[Nasm-bugs] [Bug 3392509] New: Wrong content in binary output and listing output

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Wed Aug 22 15:42:08 PDT 2018


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

            Bug ID: 3392509
           Summary: Wrong content in binary output and listing output
           Product: NASM
           Version: 2.14 (development)
          Hardware: PC
                OS: Windows
            Status: OPEN
          Severity: critical
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: shooshx at gmail.com
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

compiling this one line assembly program:

JMP SHORT 0xFA

with command line
nasm.exe encoding_bug.txt -l enc_bug.lst

The resulting binary output has:
EB F8
this is the wrong result

the listing file has:
     1 00000000 EB(FA)                  JMP SHORT 0xFA
this is the right result

-- 
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