diff options
| author | kitty <nepeta@canaglie.net> | 2026-02-09 01:17:36 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-02-09 01:17:36 +1100 |
| commit | bec392e978be684e1a099665de3f9dee6967d63b (patch) | |
| tree | 66fd41ad9770ebd847118cc6a9cc1da448e20da1 | |
| parent | 1f0acdbbe02f8d35578c863d96187d8e3985506a (diff) | |
reverse order in interpreter
i could maybe test this at some point, but maybe it's a little more
efficient. who knows
| -rw-r--r-- | jefs.s | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -212,20 +212,22 @@ defword "interpret", interpret, 0 pspop r11 ; assume it exists its fine for now call to_cfa mov r12, qword [state] - cmp r12, interpreting - je .interp + cmp r12, compiling + je .compile -.compile: +.interp: pspop r11 - call compile_comma, + call r11 + jmp .loop ret ; unreachable safety RET -.interp: +.compile: pspop r11 - call r11 + call compile_comma jmp .loop ret ; unreachable safety RET + defword ">cfa", to_cfa, 0 pspop r11 add r11, 9 |
