From: Andrew Crabtree Message-Id: <199707130144.AA258548246@typhoon.rose.hp.com> Subject: Re: AT&T Assembly, Random Functions To: kwe1 AT flash DOT net (Joshua Eckstein) Date: Sat, 12 Jul 1997 18:44:06 PDT Cc: djgpp AT delorie DOT com In-Reply-To: <5q891u$na8$1@excalibur.flash.net>; from "Joshua Eckstein" at Jul 12, 97 10:49 am Precedence: bulk > "undefined reference to red", and gre, and blu. I think it probably has > { > asm ("movw $0x1010, %ax > movw $_index, %bx > movb $_red, %ch > movb $_gre, %cl > movb $_blu, %dh > int $0x10"); I believe that in gas a $ is used to indicate an immediate value as opposed to an offset. I would try removing the $ in front of your variable names. Andrew