Mail Archives: djgpp/1997/08/24/23:19:32
Lonnie McCullough wrote:
>
> Allright I'm having troubles with GAS. I have a function that sets a
> pixel at a given offset in a 8/15/16/24 bpp modes. GAS seems to be
> choking when I have a memory operand as the destination on certain
> instructions.
[...]
Very strange, It compiles ok if you remove the comment after:
andl $0xFF000000,(%eax)
or if you use # as the comment start. It also compiles ok if you use gcc
instead of as, since gcc runs cpp on the source file if it has .S
extension and cpp removes comments. Later I'll try to compile your
sample with as under linux, I'm wondering if that's just an as for DOS
extravaganza.
Hope this help.
Saludos
Alexis Roda
- Raw text -