implemented realloc as well as a bunch of fixes and some small changes like changing the order of arguments for !, making alloc drop etc.

This commit is contained in:
IgorCielniak
2026-02-02 15:51:58 +01:00
parent ec826c31b2
commit 5ea020100e
9 changed files with 100 additions and 46 deletions

15
nob.sl
View File

@@ -31,25 +31,20 @@ word sh
0
c!
mem
"/bin/sh" drop
0
mem +
!
mem 8 +
"-c" drop
8
mem +
!
mem 16 +
0 rpick
16
mem +
!
mem 24 +
0
24
mem +
!
mem 32 +
0
32
mem +
!
syscall.fork