delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/12/20:55:47

From: brennan AT news DOT rt66 DOT com (Brennan "The Rev. Bas" Underwood)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: using assembler with C
Date: 12 Mar 1997 15:51:20 -0700
Organization: Acid Brain
Lines: 22
Distribution: world
Message-ID: <5g7c18$dpg$1@mack.rt66.com>
References: <5g1cdr$6hq$1 AT thor DOT atcon DOT com>
NNTP-Posting-Host: mack.rt66.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <5g1cdr$6hq$1 AT thor DOT atcon DOT com>,
SteelGolem  <steelgolem AT geocities DOT com> wrote:
>ok, i've read the doc for AS, but i'm still confused here.
>how can i use obj code generated by AS with obj code generated by gcc? 
>are they compatible? and if its what you're supposed to do to do 
>assembly routines in GCC, what the heck am i supposed to write????? can 
>someone give me an example here??? all that i need the assembly for is 
>to write TWO simple 5-7 assembly line functions for use with my GCC 
>project. fixed point multiplication and division, anyone? .. anyone??

You need to look at
http://brennan.home.ml.org/djgpp/djgpp_asm.html
in general, and
http://brennan.home.ml.org/programming/fixed.h
in specific.


Brennan
-- 
 brennan AT rt66 DOT com |  fsck /u
Riomhchlaraitheoir|  
   Rasterfarian   |  <http://brennan.home.ml.org>                          -O

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019