Mail Archives: djgpp/1996/10/25/18:21:00
> > 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
> > Peter Monks pmo AT fmsc DOT com DOT au
>
> Peter,
> There isn't anything wrong with those lines as near as I can tell
> (and you do have the right ones). I just tried it and got the same
> error messages myself. I think this is a bug in GAS 2.7 because the
> instruction in line 252 appears a few lines above it and GAS does not
> generate an error from it.
> There are two possible solutions that I can see. Either you can
> replace these outs with .byte 0xXX of the object code of these
> instructions, or do what I have done and replace as.exe with the one
> from binutils 2.5.2 until a fixed version of GAS is available. With the
> older version of GAS this assembles just fine, and I have had no other
> problems with this setup (though Eli doesn't recommend it). But then
> again, I havn't tried recompiling all of alegro with it.
>
> Troy Van Horn
>
Please disregard the solutions I mentioned, for the real problem is
an error in bank.S in lines 227 and 244 which both have the instruction
"incl %ah" which should be "incb %ah". GAS 2.7 is reporting the correct
error, but giving incorrect line numbers.
Troy Van Horn
- Raw text -