Date: Wed, 20 Nov 1996 09:13:53 +0200 (IST) From: Eli Zaretskii To: luca Cc: djgpp AT delorie DOT com Subject: Re: make allegro v2.1 In-Reply-To: <56su3f$dfc@everest.vol.it> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 20 Nov 1996, luca wrote: > gcc -I. -Isrc -Wall -o obj/bank.o -c src/bank.S > c:/lang/djgpp/tmp\ccbaaaaa: Assembler messages: > c:/lang/djgpp/tmp\ccbaaaaa:252: Error: register does not match opcode > suffix > c:/lang/djgpp/tmp\ccbaaaaa:269: Error: register does not match opcode > suffix > make.exe: *** [obj/bank.o] Error 1 There are two lines in bank.S which say "incl %ah". You should change them to say "incb %ah" instead. Allegro was developed with DJGPP v2.0, but the assembler which comes with DJGPP v2.01 is less permissive with regard to operator-operand size mismatches (AH is a byte-wide register, but incl is an instruction to increment a 32-bit wide entity).