delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/24/23:19:32

Message-ID: <33F9D8F7.9D3167DF@fcee.urv.es>
Date: Tue, 19 Aug 1997 19:33:43 +0200
From: Alexis Roda <arv AT astor DOT urv DOT es>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GAS craziness (not assembling legal instructions)
References: <33f4f975 DOT 1565929 AT news DOT nol DOT net>
NNTP-Posting-Host: 195.5.72.205
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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