home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
tutorial
/
y_asm
/
makecom.bat
< prev
next >
Wrap
DOS Batch File
|
1987-10-30
|
491b
|
30 lines
ECHO OFF
IF EXIST %1.ASM GOTO ASM
:
ECHO MAKECOM: %1.ASM NOT FOUND
GOTO END
:
:ASM
IF EXIST %1.OBJ DEL %1.OBJ
IF EXIST %1.LST DEL %1.LST
IF EXIST %1.EXE DEL %1.EXE
IF EXIST %1.COM DEL %1.COM
IF EXIST %1.MAP DEL %1.MAP
IF EXIST %1.SYM DEL %1.SYM
TM START /C1 /N
MASM %1.ASM,%1.OBJ,%1.LST;
ECHO
IF ERRORLEVEL 1 GOTO CLEANUP
:
LINK %1.OBJ,%1.EXE,%1.MAP /MAP;
EXE2BIN %1.EXE %1.COM
DEL %1.EXE
MAPSYM %1.MAP
:
:CLEANUP
DEL %1.OBJ
TM STOP /C1 /N /L
:
:END
ECHO