diff options
author | Jeff Law <law@redhat.com> | 1996-08-23 18:17:31 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-08-23 18:17:31 +0000 |
commit | b1e897a97dad8c102a700f89b9bf3b1fd0f00be5 (patch) | |
tree | e7826b3ec81142da5ed511d32c256d0c4d8d2ad7 | |
parent | ad9889dd59a125d36742b9015e335d6b23dd0874 (diff) | |
download | gdb-b1e897a97dad8c102a700f89b9bf3b1fd0f00be5.zip gdb-b1e897a97dad8c102a700f89b9bf3b1fd0f00be5.tar.gz gdb-b1e897a97dad8c102a700f89b9bf3b1fd0f00be5.tar.bz2 |
* v850-opc.c (two): Get order of words correct.
-rw-r--r-- | opcodes/ChangeLog | 2 | ||||
-rw-r--r-- | opcodes/v850-opc.c | 2 |
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)) |