This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Thu, 12 Mar 1998 14:07:26 -0800 (PST), art@acc.com (Art Berggreen) wrote: >> subq.w #1,%a1 >> /* ^ note the size spezifier here 16 bit !!!!!!!!!!!!!! */ > >Arithmetic operations on 68k address registers are always promoted to >32 bits. `sign extended' would be more accurate. According the the programmer's guide, when an address register is the source of a word operation, only the low 16-bits are used. When an address register is the destination, the operands are sign-extended to 32-bits. Peter