Mail Archives: djgpp/1996/08/16/22:18:20
Xref: | news2.mv.net comp.os.msdos.djgpp:7408
|
From: | roland DOT nilsson AT communique DOT se (Roland Nilsson)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Using AS as a standalone assembler
|
Date: | 16 Aug 1996 17:58:43 GMT
|
Organization: | -+- Private -+-
|
Lines: | 21
|
Message-ID: | <4v2csj$iha@news.luth.se>
|
References: | <4uvo7m$70c AT ari DOT ari DOT net>
|
NNTP-Posting-Host: | x60.communique.se
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In article <4uvo7m$70c AT ari DOT ari DOT net>, flyboy AT ari DOT net says...
>
>
>I heard that you can use AS with DJGPP to make stand alone programs kind
>of like Turbo Assembler does. Only thing is ho would I be able to do this
>as I have tried and not had much luck.
Assuming that you know AT&T syntax (different from Intel syntax, i.e.
what MASM, TASM & co uses), the trouble is getting into protected
mode. AS is a pure 32-bit assembler, so you cannot hack things in DOS
(real mode) with it. Check out the DPMI systems provided with djgpp.
Oh, and take a look at some preprocessor if you'd like to stay sane.
I'm using GASP with AS, but others are available too.
------------------------------------------------------- - - -
Roland Nilsson, AssiDomaen Electronics Dept. DBA
Pitea, SWEDEN
--/ member of the \--
--( Avante OS Development Group )--
--\ (project coordinator) /--
- Raw text -