aboutsummaryrefslogtreecommitdiff
path: root/opcodes/rl78-decode.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-02-25 18:41:06 +0000
committerNick Clifton <nickc@redhat.com>2013-02-25 18:41:06 +0000
commit151fa98f806158456f5293638145fadb93bbb068 (patch)
tree733c41293b358393e238612bf09b11ef80f43d2a /opcodes/rl78-decode.c
parent025e6dce58745ef9494cb301a952132e7a7ce453 (diff)
downloadgdb-151fa98f806158456f5293638145fadb93bbb068.zip
gdb-151fa98f806158456f5293638145fadb93bbb068.tar.gz
gdb-151fa98f806158456f5293638145fadb93bbb068.tar.bz2
* rl78-decode.opc: Fix encoding of DIVWU insn.
* rl78-decode.c: Regenerate. * config/rl78-parse.y: Fix encoding of DIVWU insn.
Diffstat (limited to 'opcodes/rl78-decode.c')
-rw-r--r--opcodes/rl78-decode.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/opcodes/rl78-decode.c b/opcodes/rl78-decode.c
index fab973c..46531f5 100644
--- a/opcodes/rl78-decode.c
+++ b/opcodes/rl78-decode.c
@@ -1,6 +1,6 @@
#line 1 "rl78-decode.opc"
/* -*- c -*- */
-/* Copyright 2012 Free Software Foundation, Inc.
+/* Copyright 2012-2013 Free Software Foundation, Inc.
Contributed by Red Hat.
Written by DJ Delorie.
@@ -5167,7 +5167,7 @@ rl78_decode_opcode (unsigned long pc AU,
rl78->syntax = "divhu"; ID(divhu);
break;
case 0x04:
- rl78->syntax = "divwu"; ID(divwu);
+ rl78->syntax = "divwu <old-encoding>"; ID(divwu);
break;
case 0x05:
rl78->syntax = "machu"; ID(machu);
@@ -5175,9 +5175,11 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x06:
rl78->syntax = "mach"; ID(mach);
break;
+ case 0x0b:
+ rl78->syntax = "divwu"; ID(divwu);
+ break;
}
-
- }
+ }
break;
case 0xcf:
{