Add some string operations
This commit is contained in:
parent
d1f96e1c72
commit
6e83ca09f6
2
std/string/array/dup.lb
Normal file
2
std/string/array/dup.lb
Normal file
@ -0,0 +1,2 @@
|
||||
@ 0
|
||||
args 0
|
2
std/string/array/rev.lb
Normal file
2
std/string/array/rev.lb
Normal file
@ -0,0 +1,2 @@
|
||||
args 0
|
||||
size
|
12
std/string/null/rev.lb
Normal file
12
std/string/null/rev.lb
Normal file
@ -0,0 +1,12 @@
|
||||
@ 0
|
||||
args 1
|
||||
kjz 1
|
||||
jmp 0
|
||||
|
||||
@ 1
|
||||
pop
|
||||
size
|
||||
#exec std/rev.lb
|
||||
push 0
|
||||
size
|
||||
#exec std/rev.lb
|
Loading…
Reference in New Issue
Block a user