www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/10/04:19:24

Date: Wed, 10 Dec 1997 11:18:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jose Luis Perandones Colino <joepc AT writeme DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Docs about asm
In-Reply-To: <3.0.32.19971209005328.006972fc@195.53.80.2>
Message-ID: <Pine.SUN.3.91.971210111744.10111G-100000@is>
MIME-Version: 1.0

On Tue, 9 Dec 1997, Jose Luis Perandones Colino wrote:

> >   : : "a" (color), "rm" (red), "rm" (green), "rm" (blue)
>          ^            ^^          ^^            ^^
> Where can i find docs about this??

Type this from the DOS prompt:

       info gcc "C Extensions" "Extended Asm"

(Note the quotes: they are important.)

> I know some "values" ("g","=f"), but where can i find a list with all??

These are called ``constraints''.  One of the links from the above
section leads to the full list.  If you want to get the list right
away, type this:

       info gcc machine constraints

Btw, if you know that these are called ``constraints'', you should be
able to find it easily in the GCC manual using the `index-search'
command.  Type "info gcc", then press `i', and type "constraints" and
hit [Enter] when Info prompts for a topic.  This is a very powerful
command IMHO, as it leads you through all index entries which have the
string you enter as a substring.  In the case in point, the very first
hit is what you want.

- Raw text -


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