Initial commit

This commit is contained in:
RoyR
2026-03-14 14:14:37 -04:00
commit da2fcb6260
22 changed files with 6775 additions and 0 deletions

11
examples/hello.cm Normal file
View File

@@ -0,0 +1,11 @@
// Public domain / CC0. Use freely for any purpose. RoyR 2026
// hello.cm - Hello World program
// Compile: ./common hello.cm hello.asm && nasm -f elf32 hello.asm && gcc -m32 hello.o -o hello
void putchar(int32 c);
void puts(uint8 *s);
int32 main(void) {
puts("Hello, World!");
return 0;
}