summaryrefslogtreecommitdiff
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
commit73c5489904ab449e1c5acbaf6e38a0287efa29e1 (patch)
tree7ab8acf3270d6ed3c639a6e68639b57bd1c44b32
parent549510c0933f98fae5d9318057df27d5f7604e1f (diff)
downloadgdb-73c5489904ab449e1c5acbaf6e38a0287efa29e1.tar.gz
* 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 c6cbf0a3225..7934aa819dc 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 1bfacbed71d..334c942c9c1 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},