TASM.EXE is a real-mode assembler, meaning that it is capable of using only the lower 640K of memory addressable by DOS. If you're assembling larger applications, use either TASMX.EXE or TASM32.EXE. Both of these assemblers use the DPMI server to take advantage of extended memory.