projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* interp.c (do_format_4): Get operands correctly and
[binutils-gdb.git]
/
sim
/
v850
/
interp.c
diff --git
a/sim/v850/interp.c
b/sim/v850/interp.c
index fbd808da1498f70e7b80739d36fcbd051cdb38ed..d47a1090fba832d51301679ac570f9579db8ad8d 100644
(file)
--- a/
sim/v850/interp.c
+++ b/
sim/v850/interp.c
@@
-154,7
+154,13
@@
static void
do_format_4 (insn)
uint32 insn;
{
+ struct hash_entry *h;
printf("format 4 0x%x\n", insn);
+
+ h = lookup_hash (insn);
+ OP[0] = (insn >> 11) & 0x1f;
+ OP[1] = (insn & 0x7f);
+ (h->ops->func) ();
}
static void