diff options
author | Emile <hanemile@protonmail.com> | 2020-02-22 13:42:34 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-02-22 13:42:34 +0100 |
commit | 7a5d92f928b975377ff3b8472ce2e86971c06c66 (patch) | |
tree | 09ce986e0dfd92049edb11b5c22a93956af8684f | |
parent | 4008dcd9d233019366ff8e59b0061baf2f37fbd4 (diff) |
super basic bot
-rw-r--r-- | bots/warrior.asm | 9 |
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 |