mirror of
https://github.com/Asraelite/littlebigcomputer.git
synced 2025-07-18 00:26:50 +00:00
Fix V8 emulator bugs
This commit is contained in:
parent
c45ad79440
commit
476972f85a
29 changed files with 281 additions and 18 deletions
13
programs/parva_0.1/cli_1.lbpasm
Normal file
13
programs/parva_0.1/cli_1.lbpasm
Normal 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:
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue