mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* v850-opc.c (v850_operands): Add "B3" support.
(v850_opcodes): Fix and enable "set1", "clr1", "not1" and "tst1".
This commit is contained in:
@ -1,7 +1,11 @@
|
|||||||
start-sanitize-v850
|
start-sanitize-v850
|
||||||
Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
|
Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* v850-ope.c ("jmp"): R1 is only operand.
|
* v850-opc.c (v850_operands): Add "B3" support.
|
||||||
|
(v850_opcodes): Fix and enable "set1", "clr1", "not1"
|
||||||
|
and "tst1".
|
||||||
|
|
||||||
|
* v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
|
||||||
|
|
||||||
* v850-opc.c: Close unterminated comment.
|
* v850-opc.c: Close unterminated comment.
|
||||||
|
|
||||||
|
@ -51,7 +51,11 @@ const struct v850_operand v850_operands[] = {
|
|||||||
|
|
||||||
/* The DISP22 field in a format 4 insn. */
|
/* The DISP22 field in a format 4 insn. */
|
||||||
#define D22 (D16+1)
|
#define D22 (D16+1)
|
||||||
{ 16, 0, OPERAND_NUM }
|
{ 16, 0, OPERAND_NUM },
|
||||||
|
|
||||||
|
#define B3 (D22+1)
|
||||||
|
/* The 3 bit immediate field in format 8 insn. */
|
||||||
|
{ 3, 3, OPERAND_NUM }
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
||||||
@ -172,13 +176,11 @@ const struct v850_opcode v850_opcodes[] = {
|
|||||||
{ "jarl", one(0x0780), one(0xf83f), { R2,D22 } },
|
{ "jarl", one(0x0780), one(0xf83f), { R2,D22 } },
|
||||||
{ "jr", one(0x0780), one(0xffe0), { D22 } },
|
{ "jr", one(0x0780), one(0xffe0), { D22 } },
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* bit manipulation instructions */
|
/* bit manipulation instructions */
|
||||||
{ "set1", one(0x07c0), one(0xc7e0), {B3, R1, D16} },
|
{ "set1", two(0x07c0,0x0000), two(0xc7e0,0x0000), {B3, R1, D16} },
|
||||||
{ "not1", one(0x47c0), one(0xc7e0), {B3, R1, D16} },
|
{ "not1", two(0x47c0,0x0000), two(0xc7e0,0x0000), {B3, R1, D16} },
|
||||||
{ "clr1", one(0x87c0), one(0xc7e0), {B3, R1, D16} },
|
{ "clr1", two(0x87c0,0x0000), two(0xc7e0,0x0000), {B3, R1, D16} },
|
||||||
{ "tst1", one(0xc7c0), one(0xc7e0), {B3, R1, D16} },
|
{ "tst1", two(0xc7c0,0x0000), two(0xc7e0,0x0000), {B3, R1, D16} },
|
||||||
#endif
|
|
||||||
|
|
||||||
/* special instructions */
|
/* special instructions */
|
||||||
{ "di", two(0x07e0,0x0160), two(0xffff,0xffff), {0} },
|
{ "di", two(0x07e0,0x0160), two(0xffff,0xffff), {0} },
|
||||||
|
Reference in New Issue
Block a user