* v850-opc.c (v850_operands): I16 inserts at offset 16!

Should get immediate 16bit operands into the right place
This commit is contained in:
Jeff Law 1996-08-23 17:52:00 +00:00
parent 827b80748b
commit 9ad8ddf1bd
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
start-sanitize-v850
Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
* v850-opc.c (v850_operands): I16 inserts at offset 16!
* v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
register source and destination operands.
(v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".

View File

@ -42,7 +42,7 @@ const struct v850_operand v850_operands[] = {
/* The IMM16 field in a format 6 insn. */
#define I16 (I5U+1)
{ 16, 0, 0, 0, 0 },
{ 16, 16, 0, 0, 0 },
/* The signed DISP7 field in a format 4 insn. */
#define D7S (I16+1)