Author Topic: Help with lst listings  (Read 2195 times)

nobody

  • Guest
Help with lst listings
« on: February 06, 2008, 12:35:51 AM »
Hi,

I'm having problems with .lst files. Here's a simple example, start with file test.asm:

org 0x100
dd label
label: db 0xff

Asemble with command:

nasm -f bin test.asm -o test.com -l test.lst

Results in test.lst like this:
     1                                  org 0x100
     2 00000000 [04000000]              dd label
     3 00000004 FF                      label: db 0xff

I expected the address to start from 00000100.

The test.com file is fine (and so different to the listing)

debug of test.com shows:

-d
1562:0100  04 01 00 00 FF 31 20 20-20 20 20 20 20 20 20 20   .....1

TIA,
John