aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay <Vinay.G@kpit.com>2015-02-23 17:16:30 +0000
committerNick Clifton <nickc@redhat.com>2015-02-23 17:16:30 +0000
commitfd63f640f645878605e4b4bc33ca31fb51583ecd (patch)
tree5596e463d0f74205b7d77a081b05a284c59482bd
parent5518c738a47f0282d6fcc6768e1cde598e9538e0 (diff)
downloadgdb-fd63f640f645878605e4b4bc33ca31fb51583ecd.zip
gdb-fd63f640f645878605e4b4bc33ca31fb51583ecd.tar.gz
gdb-fd63f640f645878605e4b4bc33ca31fb51583ecd.tar.bz2
Adds a space between the operands of the RL78's MOV instruction for consistency with the disassembling of other instructions.
* rl78-decode.opc (MOV): Added space between two operands for 'mov' instruction in index addressing mode. * rl78-decode.c: Regenerate.
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/rl78-decode.c12
-rw-r--r--opcodes/rl78-decode.opc4
3 files changed, 14 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ddb04b8..90b4eaf 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-23 Vinay <Vinay.G@kpit.com>
+
+ * rl78-decode.opc (MOV): Added space between two operands for
+ 'mov' instruction in index addressing mode.
+ * rl78-decode.c: Regenerate.
+
2015-02-19 Pedro Alves <palves@redhat.com>
* microblaze-dis.h [__cplusplus]: Wrap in extern "C".
diff --git a/opcodes/rl78-decode.c b/opcodes/rl78-decode.c
index 7b35ecc..f4d8ef3 100644
--- a/opcodes/rl78-decode.c
+++ b/opcodes/rl78-decode.c
@@ -4490,14 +4490,14 @@ rl78_decode_opcode (unsigned long pc AU,
break;
case 0x99:
{
- /** 1001 1001 mov %e0,%1 */
+ /** 1001 1001 mov %e0, %1 */
if (trace)
{
printf ("\033[33m%s\033[0m %02x\n",
- "/** 1001 1001 mov %e0,%1 */",
+ "/** 1001 1001 mov %e0, %1 */",
op[0]);
}
- SYNTAX("mov %e0,%1");
+ SYNTAX("mov %e0, %1");
#line 614 "rl78-decode.opc"
ID(mov); DM(DE, 0); SR(A);
@@ -4520,14 +4520,14 @@ rl78_decode_opcode (unsigned long pc AU,
break;
case 0x9b:
{
- /** 1001 1011 mov %e0,%1 */
+ /** 1001 1011 mov %e0, %1 */
if (trace)
{
printf ("\033[33m%s\033[0m %02x\n",
- "/** 1001 1011 mov %e0,%1 */",
+ "/** 1001 1011 mov %e0, %1 */",
op[0]);
}
- SYNTAX("mov %e0,%1");
+ SYNTAX("mov %e0, %1");
#line 623 "rl78-decode.opc"
ID(mov); DM(HL, 0); SR(A);
diff --git a/opcodes/rl78-decode.opc b/opcodes/rl78-decode.opc
index 6612e48..fc0dea5 100644
--- a/opcodes/rl78-decode.opc
+++ b/opcodes/rl78-decode.opc
@@ -610,7 +610,7 @@ rl78_decode_opcode (unsigned long pc AU,
/** 1001 1111 mov %e!0, %1 */
ID(mov); DM(None, IMMU(2)); SR(A);
-/** 1001 1001 mov %e0,%1 */
+/** 1001 1001 mov %e0, %1 */
ID(mov); DM(DE, 0); SR(A);
/** 1100 1010 mov %e0, #%1 */
@@ -619,7 +619,7 @@ rl78_decode_opcode (unsigned long pc AU,
/** 1001 1010 mov %e0, %1 */
ID(mov); DM(DE, IMMU(1)); SR(A);
-/** 1001 1011 mov %e0,%1 */
+/** 1001 1011 mov %e0, %1 */
ID(mov); DM(HL, 0); SR(A);
/** 0110 0001 1101 1001 mov %e0, %1 */