This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Add "add" as an alias for "addu" in M*Core assembler


Hi Guys

  I have checked in the following patch to add an alias for the MCore
  "addu" instruction.

Cheers
	Nick

2000-01-20  Nick Clifton  <nickc@cygnus.com>

	* mcore-opc.h (mcore_table): Add "add" as an alias for "addu".

Index: mcore-opc.h
===================================================================
RCS file: /cvs/binutils/binutils/opcodes/mcore-opc.h,v
retrieving revision 1.7
diff -p -r1.7 mcore-opc.h
*** mcore-opc.h	2000/01/20 19:08:43	1.7
--- mcore-opc.h	2000/01/21 00:27:18
*************** mcore_opcode_info mcore_table[] =
*** 109,114 ****
--- 109,115 ----
    { "asr",	O2,	0,	0x1A00 },
    { "lsl",	O2,	0,	0x1B00 },
    { "addu",	O2,	0,	0x1C00 },
+   { "add",	O2,	0,	0x1C00 }, /* Official alias.  */
    { "ixh",	O2,	0,	0x1D00 },
    { "or",	O2,	0,	0x1E00 },
    { "andn",	O2,	0,	0x1F00 },


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]