[Nasm-bugs] [Bug 3392764] New: Listing uses relative addresses even in absolute addressing mode

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed Jun 9 10:36:58 PDT 2021


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

            Bug ID: 3392764
           Summary: Listing uses relative addresses even in absolute
                    addressing mode
           Product: NASM
           Version: 2.13.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: annoyance
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: towo at towo.net
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: From OS distribution

In my assembly classes for beginners I use the simplest mode, small memory
model, generating .com files with initial `org 100h`.
If I create a listing for demonstration, however, relative addresses are shown,
starting at 0. This is confusing (particularly for beginners):
     1                                          org 100h
     2 00000000 8CC8                            mov AX,CS
I would have expected it like this in this case:
     1                                          org 100h
     2 00000100 8CC8                            mov AX,CS

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