summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7829547..3dff1fe 100644
--- a/src/main.c
+++ b/src/main.c
@@ -975,7 +975,8 @@ main(int argc, char **argv)
Node *node = parse(tok);
- printf("\tJMP ,__fn_main ( entry point )\n");
+ printf("\tJRT ,__fn_main ( entry point )\n");
+ printf("\tRET\n");
codegen(node);
printf("@__stack_ptr\n");