aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r--sim/v850/interp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c
index fbd808d..d47a109 100644
--- 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