[comp.os.msdos.programmer] Code for the system

andrew@cs.arizona.edu (Andrei V. Zaitsev) (05/17/91)

Can anybody send me a piece of assembly code which
executes a given DOS command (DIR,EDLIN,TYPE,etc)?
The reason , why I need it , is that I am using a
non-standard C compiler (called Small-C) which does
not have a system() function. Small-C allows to include
assembly code into the program by means of #asm ... #endasm
directives.