From: korpela AT islay DOT ssl DOT berkeley DOT edu (Eric J. Korpela) Newsgroups: comp.os.msdos.djgpp Subject: Re: allegro and djgpp v2.01 Date: 21 Oct 1996 18:00:33 GMT Organization: Cal Berkeley-- Space Sciences Lab Lines: 23 Message-ID: <54gdo1$qqo@agate.berkeley.edu> References: NNTP-Posting-Host: islay.ssl.berkeley.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , Mark Habersack 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. Click here for more info.