Tasm cannot find include file

In my program.asm I include a file with the tasm directive

 include "file.asm" 

however, I get the error "Cannot find file.asm file". The file is in the same directory as the source code D: \ source. Tasm is located in the D:\tasm . I tried to create the TASM.CFG file in the tasm/bin with the line /iD:\source , but that did not help. I also tried moving file.asm to the tasm/bin , which also did not help. I also tried to specify the full path in the include directive

 include "D:\source\file.asm" 

which also did not help.

+4
source share
1 answer

Note that the MASM syntax for include is just include file.asm , i.e. without quotes. AFAIK MASM is the default mode for TASM

Link to pages 37 and 39 of the TASM 5 user manual

+5
source

Source: https://habr.com/ru/post/1445787/


All Articles