* rl78-decode.opc (rl78_decode_opcode): Add NOT1.

* rl78-decode.c: Regenerate.

* config/rl78-parse.y (NOT1): Add.
This commit is contained in:
DJ Delorie 2012-01-25 01:40:11 +00:00
parent 07c39a96dd
commit 21abe33a9b
4 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-01-24 DJ Delorie <dj@redhat.com>
* config/rl78-parse.y (NOT1): Add.
2012-01-23 Roland McGrath <mcgrathr@google.com>
* configure.tgt (i386-*-nacl*): Match it.

View File

@ -166,7 +166,7 @@ reg_xbc (int reg)
%token HALT
%token INC INCW
%token MACH MACHU MOV MOV1 MOVS MOVW MULH MULHU MULU
%token NOP
%token NOP NOT1
%token ONEB ONEW OR OR1
%token POP PUSH
%token RET RETI RETB ROL ROLC ROLWC ROR RORC
@ -884,6 +884,11 @@ statement :
| NOP
{ B1 (0x00); }
/* ---------------------------------------------------------------------- */
| NOT1 CY
{ B2 (0x71, 0xc0); }
/* ---------------------------------------------------------------------- */
| POP regw
@ -1291,6 +1296,7 @@ token_table[] =
OPC(MULHU),
OPC(MULU),
OPC(NOP),
OPC(NOT1),
OPC(ONEB),
OPC(ONEW),
OPC(OR),

View File

@ -1,3 +1,8 @@
2012-01-24 DJ Delorie <dj@redhat.com>
* rl78-decode.opc (rl78_decode_opcode): Add NOT1.
* rl78-decode.c: Regenerate.
2012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
PR binutils/10173

View File

@ -888,6 +888,11 @@ rl78_decode_opcode (unsigned long pc AU,
/*----------------------------------------------------------------------*/
/** 0111 0001 1100 0000 not1 cy */
ID(xor); DCY(); SC(1);
/*----------------------------------------------------------------------*/
/** 1110 0101 oneb %e0%!0 */
ID(mov); DM(None, IMMU(2)); SC(1);