Mail Archives: djgpp/1995/11/14/12:52:41
On Tue, 14 Nov 1995, David Friedman wrote:
> It seems that if you don't specify a opcode suffix, GAS will assemble some
> instructions with the wrong opperand size and not produce any warnings or
> error messages! It gleefully assembled "out %al, %dx" into *outw %ax,
> %dx*. I suppose it looked at the DX register, ignored the AL regsiter and
> decided to use the 16-bit form.
> Is there anyone I can notify to get this fixed?
>
> David Friedman
> who just spent 3 days
> debugging before he
> solved the above problem
This is a well-known problem. So well-known, in fact, that it is
mentioned in the DJGPP FAQ list (available as faq102.zip from the same
place you get DJGPP), section 17.1. And in this case, it probably would
have saved you those 3 days of debugging.
Please, *please*, PLEASE, read the FAQ!!
- Raw text -