C
C
cybernoob2018-02-18 12:54:06
assembler
cybernoob, 2018-02-18 12:54:06

How to run an assembler file in DOSbox?

I put my.asm in the C:\Tasm 1.4\Tasm folder. I run
:
5a894ce0a0a59448541003.png
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

1 answer(s)
S
Satisfied IT, 2018-02-18
@cybernoob

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 question

Ask a Question

731 491 924 answers to any question