| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 25 May 94 13:06:46 -0400 |
| From: | dj AT ctron DOT com (DJ Delorie) |
| To: | morphine AT whatever DOT cs DOT jhu DOT edu |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | RE: FW: inline assembler code on PC |
> asm ("movl %0,r9;movl %1,r10;call _foo"
> : /* no outputs */
> : "g" (from), "g" (to)
> : "r9", "r10");
Most of the examples are in 68000 assembler. Read the gcc info files
section on "Extended Asm" some more.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |