From: Elliott Oti Newsgroups: comp.os.msdos.djgpp Subject: Re: straight ASM programming in DJGPP/GAS Date: Tue, 14 Jan 1997 20:50:42 -0800 Organization: Academic Computer Centre Utrecht, (ACCU) Lines: 20 Message-ID: <32DC6222.3AC1@stud.warande.ruu.nl> References: NNTP-Posting-Host: warande1078.warande.ruu.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp RHS Linux User wrote: > > Are there any docs on using gas to write the entire program? such as something > that gives the absolute minimum program? (equivalent of the old immediately > call the DOS terminate int) > > I'm specifically looking for info on setting the entry point, and any red tape > stuff needed to do procedures. Would NASM be what I'm looking for? I'm trying > to learn how to program in dos and perhaps linux without C overhead... compile int main(void) { return 1;} with switch -S for assembler output and examine the result. This is IMO the best way to see what you're supposed to do in a given situation Elliott