From eaece6994a440d5d61a4b08d0d542b4f11d5720b Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Sat, 29 Jan 2022 21:58:19 -0800 Subject: [PATCH] Move gamarjoba into subdir --- README.md | 3 +++ gamarjoba.asm => gamarjoba_munde/gamarjoba.asm | 0 justfile | 9 +++++++++ 3 files changed, 12 insertions(+) rename gamarjoba.asm => gamarjoba_munde/gamarjoba.asm (100%) create mode 100644 justfile diff --git a/README.md b/README.md index 73f30a4..b7ee307 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ This repo is a sandbox for experimenting with bare metal code and other low-level programming concerns. +This repo contains the following executables: + +* `gamarjoba_munde` - x86-64 linux binary that prints the text "Gamarjoba, Munde" # Useful links diff --git a/gamarjoba.asm b/gamarjoba_munde/gamarjoba.asm similarity index 100% rename from gamarjoba.asm rename to gamarjoba_munde/gamarjoba.asm diff --git a/justfile b/justfile new file mode 100644 index 0000000..d505ac3 --- /dev/null +++ b/justfile @@ -0,0 +1,9 @@ +default: + just --list + +run_gamarjoba: build_gamarjoba + ./gamarjoba_munde/gamarjoba + +build_gamarjoba: + nasm -f elf64 -o gamarjoba_munde/gamarjoba.o gamarjoba_munde/gamarjoba.asm + ld -o gamarjoba_munde/gamarjoba gamarjoba_munde/gamarjoba.o