Mail Archives: djgpp/1997/12/10/00:58:09
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
- Raw text -