delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/10/00:58:09

Date: Tue, 9 Dec 1997 21:55:37 -0800 (PST)
Message-Id: <199712100555.VAA23859@adit.ap.net>
Mime-Version: 1.0
To: Jose Luis Perandones Colino <joepc AT writeme DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Docs about asm

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019