Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!news.cs.indiana.edu!arizona.edu!arizona!andrew From: andrew@cs.arizona.edu (Andrei V. Zaitsev) Newsgroups: comp.os.msdos.programmer Subject: Code for the system() function. Message-ID: <1517@caslon.cs.arizona.edu> Date: 17 May 91 01:00:56 GMT Organization: U of Arizona CS Dept, Tucson Lines: 7 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.