From f8660e0b62f819be7223c0d908f16cd34cc25fa1 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 23 Feb 2020 16:35:59 +0100 Subject: updated the bots --- bots/warrior0.asm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bots/warrior0.asm (limited to 'bots/warrior0.asm') diff --git a/bots/warrior0.asm b/bots/warrior0.asm new file mode 100644 index 0000000..29e2271 --- /dev/null +++ b/bots/warrior0.asm @@ -0,0 +1,9 @@ +call label +label: + pop eax +loop: + sub eax, 10 + cmp [eax], 0 +je loop + mov [eax], 0 + jmp loop -- cgit 1.4.1