aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sh-opc.h
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2000-03-06 21:13:15 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2000-03-06 21:13:15 +0000
commit05102e700f432b759dd94d873a366c5085d40351 (patch)
treec44da5d0b4c075687527604d0996c3b5675fd5fb /opcodes/sh-opc.h
parent2231a1e869ccfc08d6979bf7c71ef1661db1947d (diff)
downloadgdb-05102e700f432b759dd94d873a366c5085d40351.zip
gdb-05102e700f432b759dd94d873a366c5085d40351.tar.gz
gdb-05102e700f432b759dd94d873a366c5085d40351.tar.bz2
* sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
Diffstat (limited to 'opcodes/sh-opc.h')
-rw-r--r--opcodes/sh-opc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/sh-opc.h b/opcodes/sh-opc.h
index dd6d8ec..38bfbcd 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},