delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/24/20:47:45

From: pmo AT fmsc DOT com DOT au (Peter Monks)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to compile Allergo 2.1 under DJGPP 2.01 (gcc 2.7.2.1) ?
Date: Thu, 24 Oct 96 22:45:20 GMT
Organization: FMSC
Lines: 39
Message-ID: <54ori0$1e8_002@fmsc.com.au>
References: <Pine DOT LNX DOT 3 DOT 91 DOT 961023131007 DOT 23961A-100000 AT cinf DOT usm DOT md> <19961024 DOT 205512 DOT 6535 DOT 2 DOT chambersb AT juno DOT com>
NNTP-Posting-Host: gw.fmsc.com.au
Cache-Post-Path: clark.fmsc.com.au!unknown AT sleepy DOT fmsc DOT com DOT au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 23 Oct 1996 13:20:52 +0200 (EET) "Adrian G. Oboroc" <ash AT cinf DOT usm DOT md> wrote:
>
>
>Error message (before and after commenting) is just the same:
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
>gcc -I. -Isrc -Wall -o obj/bank.o -c src/bank.S              
>E:\ccbaaaaa: Assembler messages:                             
>E:\ccbaaaaa:252: Error: register does not match opcode suffix
>E:\ccbaaaaa:269: Error: register does not match opcode suffix
>make.exe: *** [obj/bank.o] Error 1                           
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I can't get Allegro to compile either (I get exactly the same errors as 
above), and I've spent about half an hour looking at the source trying to find 
where the mismatched opcodes are (to no avail).

I compiled with:

gcc -save-temps -I. -Isrc -Wall -o obj/bank.o -c src/bank.S

and then looked at the temporary file to see what lines 252 and 269 contained. 
They were:

outb %al, %dx   (line 252) and
outl %eax, %dx  (line 269)

Can any AT&T assembler gurus tell me whats wrong with these two lines?  Or do 
I actually have the wrong lines in the file?  There are other 'outb's and 
'outl's in bank.S that don't cause any errors, so I'm not 100% sure I've got 
the right lines.

Thanks in advance,
Peter


----------------------------------------------------------------------
Peter Monks                                            pmo AT fmsc DOT com DOT au
                                    Peter_Monks AT australia DOT notes DOT pw DOT com
                               http://www.geocities.com/Yosemite/4455/

- Raw text -


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