about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bots/warrior.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/bots/warrior.asm b/bots/warrior.asm
new file mode 100644
index 0000000..3cdd9da
--- /dev/null
+++ b/bots/warrior.asm
@@ -0,0 +1,9 @@
+call label
+label:
+	pop eax
+loop:
+	sub eax, 10
+	cmp [eax], 0
+je loop
+	mov [eax], 0
+	jmp loop
\ No newline at end of file