aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog2
-rw-r--r--opcodes/v850-opc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 704b513..e8cf484 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 39cb57b..87e2452 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))