now in order to call a proc from another file, the files
which contains the proc will have to declare the proc
as public :
clearscreen proc far
and in your file you will have to declare the proc as extrn :
you can also declare public/extrn global arguments.
way of compiling :
your file – prog.asm
extrn file – clear.asm
tlink prog clear
error can occure in tasm if you didn’t define public/extrn and in tlink
if you wont supply the extrns.
in this point you know most of assembly but you are lacking of technics
in this point you will have to get sources and analize them, in the
next chapter we will talk about entering info into EXE