From: Jeff Law Date: Fri, 23 Aug 1996 18:17:31 +0000 (+0000) Subject: * v850-opc.c (two): Get order of words correct. X-Git-Tag: gdb-4_18-branchpoint~7877 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1e897a97dad8c102a700f89b9bf3b1fd0f00be5;p=thirdparty%2Fbinutils-gdb.git * v850-opc.c (two): Get order of words correct. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 704b5130573..e8cf4843ec5 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,6 +1,8 @@ start-sanitize-v850 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com) + * v850-opc.c (two): Get order of words correct. + * v850-opc.c (v850_operands): I16 inserts at offset 16! * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c index 39cb57ba151..87e2452770f 100644 --- a/opcodes/v850-opc.c +++ b/opcodes/v850-opc.c @@ -17,7 +17,7 @@ static long extract_d9 PARAMS ((unsigned long, int *)); #define one(x) ((unsigned int) (x)) /* two-word opcodes */ -#define two(x,y) ((unsigned int) (y) | ((unsigned int) (x) << 16)) +#define two(x,y) ((unsigned int) (x) | ((unsigned int) (y) << 16))