aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/sh/run.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/sh/run.c b/sim/sh/run.c
index f7d987f..e0398c5 100644
--- a/sim/sh/run.c
+++ b/sim/sh/run.c
@@ -46,6 +46,11 @@ main (ac, av)
{
trace = 1;
}
+ else if (strcmp (av[i], "-m") == 0)
+ {
+ sim_size(atoi(av[i+1]));
+ i++;
+ }
else
{
name = av[i];