From mboxrd@z Thu Jan 1 00:00:00 1970 From: falconer@best.com (Edward A. Falk) To: help-gcc@gnu.org Subject: x86 register designations for asm() Date: Thu, 02 Dec 1999 11:46:00 -0000 Message-id: <3846caf9$0$218@nntp1.ba.best.com> X-SW-Source: 1999-12/msg00034.html Hi all; quick question: Is there a list of x86 register names for the asm() extension? I've figured out from reading other posts that: a eax b ebx c ecx d edx S esi D edi but what about the rest? Also, is there a syntax for the 16-bit and 8-bit registers? E.g. could I do something like asm( "blahblah" : "=al" (x), "=ah" (y) ) ; Apologies if there's a better group to ask this in; I couldn't think of any. -- -ed falk, falk@falconer.vip.best.com *********************#*************# See http://www.rahul.net/falk/whatToDo.html *#**************F******!******!*!!** and read 12 Simple Things You Can Do ********!*************************** to Save the Internet #****#******#*********!**WW*W**W From mboxrd@z Thu Jan 1 00:00:00 1970 From: falconer@best.com (Edward A. Falk) To: help-gcc@gnu.org Subject: x86 register designations for asm() Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <3846caf9$0$218@nntp1.ba.best.com> X-SW-Source: 1999-12n/msg00034.html Message-ID: <19991231222400.noJ2ZZPuHafDuLweAtSrScp0J5NmsR6ifCF6JnlwhOA@z> Hi all; quick question: Is there a list of x86 register names for the asm() extension? I've figured out from reading other posts that: a eax b ebx c ecx d edx S esi D edi but what about the rest? Also, is there a syntax for the 16-bit and 8-bit registers? E.g. could I do something like asm( "blahblah" : "=al" (x), "=ah" (y) ) ; Apologies if there's a better group to ask this in; I couldn't think of any. -- -ed falk, falk@falconer.vip.best.com *********************#*************# See http://www.rahul.net/falk/whatToDo.html *#**************F******!******!*!!** and read 12 Simple Things You Can Do ********!*************************** to Save the Internet #****#******#*********!**WW*W**W