delorie.com/archives/browse.cgi | search |
From: | Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com> |
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 |
> "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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |