diff options
author | DJ Delorie <dj@redhat.com> | 2012-01-25 01:40:11 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2012-01-25 01:40:11 +0000 |
commit | 21abe33a9bdebefa7f917bcc99e946eb464cc67f (patch) | |
tree | b064c0e4c638e095916474e3a3882347912e2133 /gas | |
parent | 07c39a96dd4eeaf1526aa563b3b6273f546bab99 (diff) | |
download | gdb-21abe33a9bdebefa7f917bcc99e946eb464cc67f.zip gdb-21abe33a9bdebefa7f917bcc99e946eb464cc67f.tar.gz gdb-21abe33a9bdebefa7f917bcc99e946eb464cc67f.tar.bz2 |
* rl78-decode.opc (rl78_decode_opcode): Add NOT1.
* rl78-decode.c: Regenerate.
* config/rl78-parse.y (NOT1): Add.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/rl78-parse.y | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8e4c127..d5de4c5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/rl78-parse.y b/gas/config/rl78-parse.y index d5f2ec9..b487312 100644 --- a/gas/config/rl78-parse.y +++ b/gas/config/rl78-parse.y @@ -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 @@ -886,6 +886,11 @@ statement : /* ---------------------------------------------------------------------- */ + | NOT1 CY + { B2 (0x71, 0xc0); } + +/* ---------------------------------------------------------------------- */ + | POP regw { B1 (0xc0); F ($2, 5, 2); } @@ -1291,6 +1296,7 @@ token_table[] = OPC(MULHU), OPC(MULU), OPC(NOP), + OPC(NOT1), OPC(ONEB), OPC(ONEW), OPC(OR), |