Answer the question
In order to leave comments, you need to log in
How to run an assembler file in DOSbox?
I put my.asm in the C:\Tasm 1.4\Tasm folder. I run
:
1) How to execute the program?
2) This command seems to compile the file to .exe, but the .exe file did not appear in the current folder
Answer the question
In order to leave comments, you need to log in
TASM.EXE is a compiler.
TLINK.EXE - linker.
Run it like this:
tasm.exe myprog.asm
The compiler will issue a message:
Assembling File: MYPROG.ASM
*Warning* MYPROG.ASM(18) Argument needs type override
*Warning* MYPROG.ASM(20) Argument needs type override
Error messages: None
Warning messages: 2
Passes: 1
Remaining memory: 354K
This means that the compilation is completed and the MYPROG.OBJ file has been created, which
must be linked into MYPROG.EXE using the call:
tlink.exe myprog.obj
As a result, we get the necessary MYPROG.EXE file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question