From 7a5d92f928b975377ff3b8472ce2e86971c06c66 Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 22 Feb 2020 13:42:34 +0100 Subject: super basic bot --- bots/warrior.asm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bots/warrior.asm (limited to 'bots') 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 -- cgit 1.4.1