diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-09-20 14:02:31 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-09-20 21:22:12 -0700 |
| commit | 3275f7932b3f109d798b9303b1e3bfc052a48d4d (patch) | |
| tree | d8a74b2d054ce0a429ca4d118dfb553c7818e21e /execution.e | |
| parent | 170f925a23e0c54a97dde4c8294898549424d332 (diff) | |
make the magic-comment tab stops function like real tab stops
fun! fiddly! :D fixing one-off column alignment issues is like stimming for coders (which is to say, like stimming) Change-Id: I1037ec27b863f90117fb22a29ef52d0ba460c7d5 Force-Push: yes
Diffstat (limited to 'execution.e')
| -rw-r--r-- | execution.e | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/execution.e b/execution.e index 536bcbf..8962578 100644 --- a/execution.e +++ b/execution.e @@ -265,13 +265,15 @@ ~ and the kernel would trust us, but this gives us more options for ~ interoperating with other runtimes. ~ - 9 :rax mov-reg64-imm64 ~ : mmap() - log-requested-address :rdi mov-reg64-imm64 ~ : address (very arbitrary) - log-size :rsi mov-reg64-imm64 ~ : size (one meg) - 0x07 :rdx mov-reg64-imm64 ~ : protection (read+write+exec) - 0x22 :r10 mov-extrareg64-imm64 ~ : flags (private+anonymous) - 0 :r8 mov-extrareg64-imm64 ~ : file descriptor (ignored) - 0 :r9 mov-extrareg64-imm64 ~ : offset (ignored) + 9 :rax mov-reg64-imm64 ~ : mmap() + log-requested-address :rdi mov-reg64-imm64 + ~ : 0 address (very arbitrary) + log-size :rsi mov-reg64-imm64 ~ : size (one meg) + 0x07 :rdx mov-reg64-imm64 + ~ : 0 protection (read+write+exec) + 0x22 :r10 mov-extrareg64-imm64 ~ : flags (private+anonymous) + 0 :r8 mov-extrareg64-imm64 ~ : file descriptor (ignored) + 0 :r9 mov-extrareg64-imm64 ~ : offset (ignored) syscall ~ The return value of the system call is in rax, we'll use it in a sec. @@ -573,7 +575,7 @@ L@' log-load-find-execution-token offset-to-target-address-space pack64 ~ : -8 log-load-find-execution-token #-- (codeword pointer) L@' swap offset-to-target-address-space pack64 - ~ : -8 swap #-- (codewored pointer) + ~ : -8 swap #-- (codeword pointer) ~ : Get rid of that heap pointer on the stack, we're finally done with it! L@' drop offset-to-target-address-space pack64 ~ : -8 drop #-- (codeword pointer) |