This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

asm2000 not outputing .obj file

Hi everybody,

I have been using asm2000 to generate .obj and .lst file. Ever since I have moved to windows 10, .obj file is not generated, but .lst is generated normally without any assembler errors or warnings. I have also tried disabling the antivirus. Tried using cl2000 as mentioned in other threads, but .obj file that it outputs is significantly different from the ones I used to get on win 7. Also the .lst file is not generated while using cl2000 :( Does anyone have any guesses?

command line looks like this:

asm2000.exe -i".\inclusion_folder1" -i"inclusion_folder2" -ad=_FLAG1=0 -ad=_FLAG2=0 -ad=_CPUCLK=150 -d"LARGE_MODEL" -mf -v28 --float_support=fpu32 -m20 -l -s "SOURCE.ASM" DEST.OBJ DEST.LST

invocation of cl2000 looks like this:

cl2000.exe -i"inclusion_folder1" -i"inclusion_folder2" -ad=_FLAG1=0 -ad=_FLAG2=0 -ad=_CPUCLK=150 -ml -v28 --float_support=fpu32 -m20 -s "SOURCE.ASM" DEST.OBJ DEST.LST

Thanks for the help and kind regards,

Nikola

  • The interface to asm2000 is no longer documented.  The only documented interface to the assembler is through the shell utility cl2000.

    Nikola Petrak said:
    cl2000.exe -i"inclusion_folder1" -i"inclusion_folder2" -ad=_FLAG1=0 -ad=_FLAG2=0 -ad=_CPUCLK=150 -ml -v28 --float_support=fpu32 -m20 -s "SOURCE.ASM" DEST.OBJ DEST.LST

    Remove the DEST.OBJ and DEST.LTS file names.  Add the build option --asm_listing (or -al for short).  The resulting build command will create two files: SOURCE.obj has the object code and SOURCE.lst has the listing.  There are options which allow you to change which directory is used for the object and listing files.  But there is no option for changing the base name of the object or listing file.

    Thanks and regards,

    -George