projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR binutils/630
[deliverable/binutils-gdb.git]
/
opcodes
/
pdp11-dis.c
diff --git
a/opcodes/pdp11-dis.c
b/opcodes/pdp11-dis.c
index 4f5bf84aead8ad8af5451ed78bd20dc9ac73d87d..1756e53b7d93538fd0d02ef7bbe8365086a6bfb6 100644
(file)
--- a/
opcodes/pdp11-dis.c
+++ b/
opcodes/pdp11-dis.c
@@
-342,7
+342,8
@@
print_insn_pdp11 (memaddr, info)
case PDP11_OPCODE_REG_DISPL:
{
int displ = (opcode & 0x3f) << 10;
- bfd_vma address = memaddr + (sign_extend (displ) >> 9);
+ bfd_vma address = memaddr - (displ >> 9);
+
FPRINTF (F, OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (src, info);
This page took
0.02267 seconds
and
4
git commands to generate.