News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Map file information

Started by Ravi Kiran, November 23, 2022, 07:20:32 PM

Previous topic - Next topic

Ravi Kiran

Can anyone here give me a detailed information on how to generate a map file and a limited listing file for a particular assembly source and executable file both x86 and x64 in command line. Do I have to include some linker options?

jj2007

/Zd /Zi /Zf  Assembler
/mapinfo:lines  Linker


\masm32\MasmBasic\Res\SkelTryCatch.asc uses this to tell the editor in which source line an exception happened, so it can jump there and select that line once the error message has been displayed in the console and the program has been closed:


Ravi Kiran

Qeditor sir. There is no option in qeditor x86 to generate a direct listing and map file info. My objective is to create a nice IDE for masm x86 and x64 just like PWB
For 16-bit masm. What I'm referring to is for .asm source files not for .asc source files in masmbasic

jj2007

RichMasm doesn't care if the source is rich text (*.asc) or poor text (*.asm), but I've never tried for 16-bit asm, so good luck for your IDE :thumbsup:

Ravi Kiran

Ok sir I'll see the richmasm editor. What you have created is an exceptional editor sir. I always need your help .

Ravi Kiran

Quote from: Ravi Kiran on November 23, 2022, 08:36:18 PM
Ok sir I'll see the richmasm editor. What you have created is an exceptional editor sir. I always need your help . As I've said before I'll write a very big book on Microsoft macro assembler

jj2007

Quote from: Ravi Kiran on November 23, 2022, 08:30:18 PMThere is no option in qeditor x86 to generate a direct listing and map file info.

QEditor is fully configurable, check \Masm32\menus.ini

Ravi Kiran

The Listing file is generated using command line option >ml /Fl *.asm . It's rather a big one.The source file is executed but I don't know how to generate map file. I've tried the command line option  >ml /Fm *.asm for map file info. It shows linker errors and warnings  like warning lnk4044, lnk4033 and fatal error lnk1181. Plz give me the full command line map file generating info.

jj2007