Mail Archives: djgpp/1996/10/21/21:19:01
In article <Pine DOT NEB DOT 3 DOT 95 DOT 961020134750 DOT 24934F-100000 AT ananke DOT amu DOT edu DOT pl>,
Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl> wrote:
> 1) Find all such errors and correct the last letter of the mnemonic to match
> size of operands, following this pattern:
> b - for byte (8 bit) operands
> w - for word (16 bit) operands
> l - for long (32 bit) operands
You've got this backwards. In previous versions of gas, the register
operand sizes were ignored. So "movw $0, %eax" would have (correctly IMHO)
compiled to the same as "movw $0, %ax" So what he really needs to do
is to correct the operands to match the size of the mnemonic.
Eric
--
Eric Korpela | An object at rest can never be
korpela AT ssl DOT berkeley DOT edu | stopped.
<a href="http://www.cs.indiana.edu/finger/mofo.ssl.berkeley.edu/korpela/w">
Click here for more info.</a>
- Raw text -