linking assembler code to C via C library

From: Neil Morris (Neilmorris_at_btinternet.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 17:44:57 +0000 (UTC)

Hi
    I would like to know what the standard way to write a custom C library
that links to assembler code?
The reason is that, apart of been curious, I would like to know what format
the C language uses to sent and receive data
between assembler and after langauges?

thanks
Neil Morris

--
my IE6 favorites for import into Netscape/Internet Explorer
www.neilmorris.btinternet.co.uk/bookmark.htm
http://www.neilmorris.btinternet.co.uk/


Relevant Pages

  • Re: linking assembler code to C via C library
    ... > I would like to know what the standard way to write a custom C ... > that links to assembler code? ... There is no standard way to do it so you will have to look in to the ... These specifics are not topical here, ...
    (comp.lang.c)
  • Re: Parameter order for Struct
    ... In my assembler code, I need to push the values onto the stack and then ... The standard C calling convention ... The C Standard just requires that argument values initialize the ...
    (comp.lang.c)
  • Re: JonesForth queries
    ... take you seriously when you say you want to implement a standard Forth ... I do have references ... implemented in assembler code). ... the faulty Jonesforth words from scratch, ...
    (comp.lang.forth)
  • Re: Who calls main() (OT, OS/C specific)
    ... it's an object module that began as assembler code. ... the environment, things like memory models, boot-block flags, etc. ... - and within standard C, there is no need to know, and it wouldn't ...
    (comp.lang.c)
  • Re: 12 Misconceptions
    ... The reason why you are a voice crying in the wilderness is that no-one ... Your notion of "Strategy Optimization" collapses to ... Now I am sure we could improve your standard of assembler code with ...
    (alt.lang.asm)