From 2a75cd152585c9cfb603523f473ccebe7b720664 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 31 May 2023 21:54:39 -0400 Subject: add new sample warrior --- warriors/gnat.red | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 warriors/gnat.red (limited to 'warriors/gnat.red') diff --git a/warriors/gnat.red b/warriors/gnat.red new file mode 100644 index 0000000..2913bf1 --- /dev/null +++ b/warriors/gnat.red @@ -0,0 +1,25 @@ +;author Benji Dial +;name Gnat + + spl s1 + spl s2 + spl s3 + jmp s4 + + dat + dat + +s1 + jmp #0, {-20 + dat +s2 + jmp #0, <-2 + + dat + dat + +s3 + jmp #0, {-20 + dat +s4 + jmp #0, <-2 -- cgit v1.2.3