Mail Archives: djgpp/1996/06/17/01:36:24
On Mon, 17 Jun 1996, Leath Muller wrote:
> I am trying to write some assembly routines, and I want to do them inline, so
> I can pretty much mix the C and asm a lot...how do I access C vars in a
> subroutine from within the asm code?
This facility is very complex and powerful and cannot be explained in a
short message. It is documented in the GCC docs. To read the sections
that explains this, invoke the Info browser like this:
info gcc "C Extensions" "Extended Asm"
(note the quotes!). This will display the first of a series of sections
that deal with the inline assembly facilities of GCC which you should
read.
- Raw text -