Author Topic: SASM and .lst files  (Read 10804 times)

Offline x70bg

  • Jr. Member
  • *
  • Posts: 2
SASM and .lst files
« on: May 05, 2020, 01:13:03 AM »
Hello,

i'm new to the forum as I have recently started looking into assembly, playing around with basic tools like gdb, ddd and of course nasm (all on Linux). Then i came across the SASM IDE and i was trying to generate object (.o) and list (.lst) files, just like I can do with nasm CLI (e.g.
Code: [Select]
nasm -f elf64 -g -F dwarf filename.asm -l filename.lst), but i have yet to figure out if this is actually supported in SASM and if so where those output files are stored.

Do you know if SASM can create these files or i can only use the nasm CLI for that?

Thank in advance!
« Last Edit: May 05, 2020, 01:16:16 AM by x70bg »

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: SASM and .lst files
« Reply #1 on: May 05, 2020, 03:48:09 AM »
Hi x70bg,

Welcome to the forum.

I am not familiar with SASM. Does it have a manual?

Best,
Frank


Offline x70bg

  • Jr. Member
  • *
  • Posts: 2
Re: SASM and .lst files
« Reply #2 on: May 05, 2020, 05:39:27 AM »
Hi Frank,
all I found is on the author page https://dman95.github.io/SASM/english.html and some additional info on github here https://github.com/Dman95/SASM/wiki/Help-(English).
However i was not able to find an explicit reference to the support.
By the following statement I tend to think that SASM only create temporary object files, no mention about .lst. So i infer that there is no option. Then again i'm a novice in this field so i just wanted to double check on this forum with some Assembly experts:

In the "Object file name" field you can specify name for temporary output object file, which replace $PROGRAM.OBJ$ variable. This option is needed for linkers which determines file format using file name extension (e.g., golink).

Cheers