Xref: news2.mv.net comp.os.msdos.djgpp:4293 Newsgroups: comp.os.msdos.djgpp From: philpri AT ee2 DOT ee DOT cit DOT ac DOT nz (Richard Philp) Subject: How are args passed in DJGPP? Message-ID: Date: Mon, 27 May 1996 20:29:54 GMT Distribution: world Organization: Central Institute of Technology Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi all, Just a simple question. I've got some assembler that I've assembled and then use o2c to convert it to COFF. The thing is I can't get the assembler to pass the correct value back to the program. Are the output from a program passed in the registers? If so which one(s)? Or Are they passed on the stack? And if so how? Thanx, Rich.