Mail Archives: djgpp/1998/08/08/00:28:56
the link is http://users.ox.ac.uk/~mert0407/asmfuncs.txt
gary sekinger wrote:
> I'd love to read the tutorial but this link isn't valid:
>
> http://users.ox.ac.uk/asmfuncs.txt
>
> what is the the correct link?
>
> --grs
>
> George Foot wrote in message <199808060600 DOT HAA25119 AT sable DOT ox DOT ac DOT uk>...
> On 6 Aug 98 at 0:47, TIm Kubista wrote:
>
> > In DJgpp, how can i compile a program that i wrote in asm??
>
> Did you write it in AT&T format, in a .s or .S file, with the
> appropriate style? If so, you just pass it to the compiler as if it
> were a .c file. Use .S files if you want it to be preprocessed (so
> you can use #include, #define, etc) first.
>
> If you didn't do all of the above, but are still using AT&T format,
> you might like to look at a mini tutorial I wrote about writing
> assembly language modules in djgpp, at:
>
> http://users.ox.ac.uk/asmfuncs.txt
>
> It explains things like calling conventions, debugging information,
> and stack frames.
>
> If you're using Intel format then you need to either switch to AT&T
> format, or use NASM to compile your code. I don't know anything
> about NASM though.
>
> --
> george DOT foot AT merton DOT oxford DOT ac DOT uk
- Raw text -