Message-Id: <3.0.32.19971209005328.006972fc@195.53.80.2> Date: Tue, 09 Dec 1997 22:17:40 +0100 To: djgpp AT delorie DOT com From: Jose Luis Perandones Colino Subject: Docs about asm Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk At 01:57 8/12/97 -0500, Doug Gale wrote: >void setdaccolor(byte color, byte red, byte green, byte blue) { > __asm__ __volatile__ ( > "movl $0x3C8, %%edx \n\t" > "outb %%al, %%dx \n\t" /* "a" below put color in eax > "incl %%edx\n\t" > "movb %b1, %%al \n\t" /* red */ > "outb %%al, %%dx \n\t" > "movb %b2, %%al \n\t" /* green */ > "outb %%al, %%dx \n\t" > "movb %b3, %%al \n\t" /* blue */ > "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?? -- Jose Luis Perandones Colino mailto:joepc AT writeme DOT com ICQ: 5209447 EmuWorks - http://www.geocities.com/SiliconValley/Bay/9494 La Baņeza - Leon - Spain