diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-11-01 18:25:06 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-11-01 18:25:06 +0100 |
| commit | 970ffb4684dbd88bd54e909820bbc5a66a87b18d (patch) | |
| tree | 43ad1d8438ef824deaf6d363d38f5d60f3d04645 /include/uskel.s | |
| parent | d1a4eb56ccf39974dd93eeb0434721acc69bbc7c (diff) | |
| download | uskel-970ffb4684dbd88bd54e909820bbc5a66a87b18d.tar.gz uskel-970ffb4684dbd88bd54e909820bbc5a66a87b18d.tar.bz2 | |
all looks ok
Diffstat (limited to 'include/uskel.s')
| -rw-r--r-- | include/uskel.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uskel.s b/include/uskel.s index f59a1f7..0a21217 100644 --- a/include/uskel.s +++ b/include/uskel.s @@ -32,10 +32,10 @@ _uskel_start: pushq $0 pushq $main - mov $0, %rsi # set continuation to exit + # loop the continuation to itself (prevents gc trouble, should never be reached) + mov %rsp, %rsi enter %rsp # run the program # Q: are there gonna be functions that have both the argument AND the cont? - # # A: No, stuff is either entered as return-continuation (takes res, # cont has to be saved) or as forward call (takes cont) # |
