summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@arc.com>2000-03-06 21:13:15 +0000
committerJoern Rennecke <joern.rennecke@arc.com>2000-03-06 21:13:15 +0000
commitddeeb19dc9b203e39f604ae413b278eb44ee3545 (patch)
treea601c84129f969113dc3c4894e927608b5376c05 /opcodes
parent2938de86a6745a8d1ab1d298f1e2e6519b59beac (diff)
downloadgdb-ddeeb19dc9b203e39f604ae413b278eb44ee3545.tar.gz
* sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/sh-opc.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 7e153ad03ea..4ddbb631b36 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+Mon Mar 6 19:52:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
+
2000-03-02 J"orn Rennecke <amylaar@cygnus.co.uk>
* d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
diff --git a/opcodes/sh-opc.h b/opcodes/sh-opc.h
index dd6d8ec97e7..38bfbcde4b6 100644
--- a/opcodes/sh-opc.h
+++ b/opcodes/sh-opc.h
@@ -276,9 +276,9 @@ sh_opcode_info sh_table[] = {
/* 0100nnnn1xxx0111 ldc.l <REG_N>,Rn_BANK */{"ldc.l",{A_INC_N,A_REG_B},{HEX_4,REG_N,REG_B,HEX_7}, arch_sh3_up},
-/* 10001110i8p4.... ldre @(<disp>,PC) */{"ldre",{A_DISP_PC},{HEX_8,HEX_E,PCRELIMM_8BY2}, arch_sh_dsp_up},
+/* 10001110i8p2.... ldre @(<disp>,PC) */{"ldre",{A_BDISP8},{HEX_8,HEX_E,BRANCH_8}, arch_sh_dsp_up},
-/* 10001100i8p4.... ldrs @(<disp>,PC) */{"ldre",{A_DISP_PC},{HEX_8,HEX_C,PCRELIMM_8BY2}, arch_sh_dsp_up},
+/* 10001100i8p2.... ldrs @(<disp>,PC) */{"ldrs",{A_BDISP8},{HEX_8,HEX_C,BRANCH_8}, arch_sh_dsp_up},
/* 0100nnnn00001010 lds <REG_N>,MACH */{"lds",{A_REG_N,A_MACH},{HEX_4,REG_N,HEX_0,HEX_A}, arch_sh1_up},