diff --git a/makefile b/makefile index 054cc15..de34a36 100644 --- a/makefile +++ b/makefile @@ -1,3 +1,5 @@ main: nasm -g -f elf64 -o main.o main.s ld -o main main.o + +.PHONY: main diff --git a/readme.md b/readme.md index cdee2fb..9ae2c73 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,14 @@ -# x86_64 assembly +Very small HTTP server written in x86-64 assembly https://en.wikipedia.org/wiki/X86-64 + +- one thread +- event loop with poll(2) +- targets x86-64 linux + +# Why? + +Why not? + +# x86-64 assembly resources https://josemariasola.github.io/reference/assembler/Stanford%20CS107%20Guide%20to%20x86-64.pdf https://www.bencode.net/blob/nasmcheatsheet.pdf