| delorie.com/archives/browse.cgi | search |
| From: | Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl> |
| 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: | <m27mlh84xv DOT fsf AT localhost DOT i-have-a-misconfigured-system-so-shoot-me> |
| NNTP-Posting-Host: | warande1078.warande.ruu.nl |
| Mime-Version: | 1.0 |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |