On Sun, Jul 28, 2013 at 6:57 AM, Peng Yu <pengyu.ut@xxxxxxxxx> wrote: > Hi, > > I don't find a good document in using asm() in gcc. I see some > discussions on asm() here > <http://stackoverflow.com/questions/15534899/simple-x86-64-c-inline-assembly-hello-world-example>. > Could any experts let me know where the document and tutorial for > asm() in gcc are? Thanks. There was some talk about updating the ASM docs a while backs; see http://gcc.gnu.org/ml/gcc-help/2013-04/msg00193.html. I don't know of any comprehensive tutorials that cover lots of small details, so I'll have to retire on that question. The last time I checked (a few years ago), many folks seemed to copy/paste the same tutorial. Jeff