aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-11-11 05:42:01 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-11-11 05:42:01 +0000
commit54a4ca2e1ddacf7a9af0d9bcd41d73899a30ed4a (patch)
tree1c6507dbe9b876a8a58c8dccba6bca76b7dd9e1b
parent1300f5dda8b5e782749f40dda5ee613eb65273f8 (diff)
downloadgdb-54a4ca2e1ddacf7a9af0d9bcd41d73899a30ed4a.zip
gdb-54a4ca2e1ddacf7a9af0d9bcd41d73899a30ed4a.tar.gz
gdb-54a4ca2e1ddacf7a9af0d9bcd41d73899a30ed4a.tar.bz2
* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/sh-opc.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index c6cbf0a..7934aa8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-11 Alexandre Oliva <aoliva@redhat.com>
+
+ * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
+
2000-11-07 Matthew Green <mrg@redhat.com>
* cgen-dis.in (print_insn): All insns which can fit into insn_value
diff --git a/opcodes/sh-opc.h b/opcodes/sh-opc.h
index 1bfacbe..334c942 100644
--- a/opcodes/sh-opc.h
+++ b/opcodes/sh-opc.h
@@ -400,7 +400,7 @@ sh_opcode_info sh_table[] = {
/* 10000001mmmmi4*2 mov.w R0,@(<disp>,<REG_M>)*/{"mov.w",{A_R0,A_DISP_REG_M},{HEX_8,HEX_1,REG_M,IMM1_4BY2}, arch_sh1_up},
-/* 11000001i8*2.... mov.w R0,@(<disp>,GBR)*/{"mov.w",{A_R0,A_DISP_GBR},{HEX_C,HEX_1,IMM0_8BY2}, arch_sh1_up},
+/* 11000001i8*2.... mov.w R0,@(<disp>,GBR)*/{"mov.w",{A_R0,A_DISP_GBR},{HEX_C,HEX_1,IMM1_8BY2}, arch_sh1_up},
/* 11000111i8p4.... mova @(<disp>,PC),R0*/{"mova",{A_DISP_PC,A_R0},{HEX_C,HEX_7,PCRELIMM_8BY4}, arch_sh1_up},
/* 0000nnnn11000011 movca.l R0,@<REG_N> */{"movca.l",{A_R0,A_IND_N},{HEX_0,REG_N,HEX_C,HEX_3}, arch_sh4_up},