aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/h8300/run.c')
-rw-r--r--sim/h8300/run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/h8300/run.c b/sim/h8300/run.c
index c42c8e7..1673227 100644
--- a/sim/h8300/run.c
+++ b/sim/h8300/run.c
@@ -57,7 +57,6 @@ char **av;
printf("run %s\n", name);
}
abfd = bfd_openr(name,"coff-h8300");
-
if (abfd) {
if (bfd_check_format(abfd, bfd_object))
@@ -71,7 +70,8 @@ char **av;
}
start_address = bfd_get_start_address(abfd);
- sim_store_register(start_address);
+ sim_store_register(
+ 9,start_address);
sim_resume(0,0);
return 0;
}