From 9a161bfcb2a9d9781ab3fde46a35e5a77b8b58e1 Mon Sep 17 00:00:00 2001 From: hexplor Date: Thu, 4 Jun 2026 20:39:52 +0200 Subject: [PATCH] ok --- makefile | 7 +++++++ start.s | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 makefile create mode 100644 start.s diff --git a/makefile b/makefile new file mode 100644 index 0000000..d4d01bb --- /dev/null +++ b/makefile @@ -0,0 +1,7 @@ +NAME = analyze + +$(NAME): analyze.o + ld $^ -o $@ +analyze.o: start.s + nasm -f elf64 start.s -o $@ + diff --git a/start.s b/start.s new file mode 100644 index 0000000..b888cee --- /dev/null +++ b/start.s @@ -0,0 +1,7 @@ +default rel +BITS 64 +section .text +global _start + +_start: + mov rax, 1