Answer the question
In order to leave comments, you need to log in
How to catch an error when compiling asm in a batch file?
Good evening, it is necessary to automate the process of assembly and linking, through bat.
Tasm is installed in the following path: D:\Program\tasm
DosBox: D:\Program\DOSBox-0.74
In the directory D:\Program\tasm\bin mopl1.bat , which starts DosBox with additional parameters in the form of a batch file for dos internal commands.
start "dosbox" "D:\Program\DOSBox-0.74\DOSBox.exe" "dosbox.bat"
mount CD:\Program\tasm\bin
tasm.exe mopl1.asm
tasm.exe mopl1.asm > log.txt, and then either find the line with errors, or compare with the reference file, where there is no error, and then if or go to.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question