From b1e897a97dad8c102a700f89b9bf3b1fd0f00be5 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 23 Aug 1996 18:17:31 +0000 Subject: [PATCH] * v850-opc.c (two): Get order of words correct. --- opcodes/ChangeLog | 2 ++ opcodes/v850-opc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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))