Made malloc() and free()! They're in header stdlib.h as syscalls 3 & 4.

This commit is contained in:
2024-05-24 18:08:33 +02:00
parent f009bbdac9
commit f879ca122f
7 changed files with 211 additions and 15 deletions
-1
View File
@@ -1,6 +1,5 @@
#include <stdio.h>
__attribute__ ((section ("entry")))
void main() {
char msg[8] = { 'H','e','l','l','o','!','\n',0 };
print(msg);