From: drew@ophelia.cs.colorado.edu (Drew Eckhardt) Subject: Re: 8086 Assembler in SLS Date: Thu, 11 Feb 1993 23:49:52 GMT
In article <C25sAJ.DwG@techbook.com> kosina@techbook.com (Martin Kosina) writes:
>
>Hi,
>
>I know this has been asked before but I have never seen any response:
>Is there *any* documentation for 'as' and 'as86' that come with the SLS
>distribution ?
as86 is a real mode assembler, that's only used to assemble the Linux
boot code, so code it assembles won't work too well.
>Man page, README, anything ?
There is TeXinfo documentation for the GNU assembler.
Try tsx-11.mit.edu:/pub/linux/info/gas-doc.tar.Z.
>All I would be doing is some
>simple assignments for my class, nothing heavy. If there is no
>instructions at all, how different is it from TASM or MASM ? Again,
>simple stuff like how do you set up data and code segments, terminate
>function (I guess INT 21h won't work :-) )
Exit, etc are system calls. The easiest way to call them will be to
link with the 'C' library and call the 'C' wrapper - ie
movl $0, %eax
pushl %eax
call _exit
-- Boycott AT&T for their absurd anti-BSDI lawsuit. | Drew Eckhardt Condemn Colorado for Amendment Two. | drew@cs.colorado.edu Use Linux, the fast, flexible, and free 386 unix |