Date: Tue, 9 Dec 1997 21:55:37 -0800 (PST) Message-Id: <199712100555.VAA23859@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Jose Luis Perandones Colino , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Docs about asm Precedence: bulk At 10:17 12/9/1997 +0100, Jose Luis Perandones Colino wrote: >At 01:57 8/12/97 -0500, Doug Gale wrote: >>void setdaccolor(byte color, byte red, byte green, byte blue) { >> __asm__ __volatile__ ( [snipped] >> "outb %%al, %%dx" >> : : "a" (color), "rm" (red), "rm" (green), "rm" (blue) > ^ ^^ ^^ ^^ >Where can i find docs about this?? >I know some "values" ("g","=f"), but where can i find a list with all?? FAQ section 18.13 has several references. The major one is the gcc docs, node "Extended Asm", but IMHO it's written in a more legalistic than practical style. There is a tutorial on the web which I haven't checked out but which is supposed to be very good; the FAQ has the address. Nate Eldredge eldredge AT ap DOT net