diff options
| author | kitty <nepeta@canaglie.net> | 2026-02-08 16:19:01 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-02-08 16:19:01 +1100 |
| commit | 3db62aa566a0d67282562a9bac72d0f6bf5c00cb (patch) | |
| tree | 11d397e8516eb54278b5053f78b108c53f200555 | |
| parent | 14ef00273e2857a8d68b5bd4c542e3d9d82582d7 (diff) | |
initfile BYE working
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | jefs.s | 8 |
2 files changed, 10 insertions, 0 deletions
@@ -1,6 +1,8 @@ TARGET := jefs SRCS = $(TARGET).s +all: $(TARGET) $(TARGET).fs + $(TARGET): $(TARGET).o ld --omagic -static -o $@ $< @@ -138,6 +138,7 @@ defword "parse", parse, 0 jmp .wordloop .wordloop_end: + dec r11 sub r13, initfile mov qword [to_in], r13 pop r13 @@ -167,6 +168,7 @@ defword "find", find, 0 mov rsi, r13 add rsi, 2 mov rdi, r11 + mov rcx, r10 repz cmpsb jnz .no sub r13, 9 @@ -192,6 +194,12 @@ defword "interpret", interpret, 0 call find pspop r11 ; for testing pspop r11 + add r11, 9 + xor r12, r12 + mov r12w, word [r11] + add r11, 2 + add r11, r12 + inc r11 call r11 ret |
