summaryrefslogtreecommitdiff
path: root/opcodes/sh-opc.h
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 /opcodes/sh-opc.h
parent1300f5dda8b5e782749f40dda5ee613eb65273f8 (diff)
downloadbinutils-gdb-54a4ca2e1ddacf7a9af0d9bcd41d73899a30ed4a.tar.gz
* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
Diffstat (limited to 'opcodes/sh-opc.h')
-rw-r--r--opcodes/sh-opc.h2
1 files changed, 1 insertions, 1 deletions
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},