From d8ed1104001a8076782398a67c9b32975522dde0 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Thu, 28 Mar 2024 13:22:39 +0100 Subject: [PATCH] naming pattern .asm instead of .1 for assembly files --- src/Makefile | 4 ++-- src/{a_pow_b.1 => a_pow_b.asm} | 0 src/bubble_sort.asm | 0 src/{test.1 => test.asm} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename src/{a_pow_b.1 => a_pow_b.asm} (100%) create mode 100644 src/bubble_sort.asm rename src/{test.1 => test.asm} (100%) diff --git a/src/Makefile b/src/Makefile index 3c31373..9a88b4b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,14 +1,14 @@ LDFLAGS="-L/usr/local/opt/flex/lib" a_pow_b: ram - ./ram < a_pow_b.1 + ./ram < a_pow_b.asm echo "### machine.py ###" cat machine.py echo "### execution ###" python machine.py test: ram - ./ram < test.1 + ./ram < test.asm echo "### machine.py ###" cat machine.py echo "### execution ###" diff --git a/src/a_pow_b.1 b/src/a_pow_b.asm similarity index 100% rename from src/a_pow_b.1 rename to src/a_pow_b.asm diff --git a/src/bubble_sort.asm b/src/bubble_sort.asm new file mode 100644 index 0000000..e69de29 diff --git a/src/test.1 b/src/test.asm similarity index 100% rename from src/test.1 rename to src/test.asm