Fix V8 emulator bugs

This commit is contained in:
Asraelite 2024-01-09 21:05:38 +01:00
parent c45ad79440
commit 476972f85a
29 changed files with 281 additions and 18 deletions

View file

@ -0,0 +1,13 @@
split_args: ; fn([str8; len]) -> ( [[str8; len]; len] )
push ra
ld x01, 0(r0) ; x0 = pointer to first char, x1 = length
loop:
lw t0, 0(a0)
andi t0, a0, 0o77
beqz end
end:
hash: