From 4c0acc96ee6c50ff8d06370c2dcc8ffd7323f843 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Thu, 20 Dec 2018 10:51:39 +0100 Subject: [PATCH] a5: ups --- src/c/a5/addsub.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c/a5/addsub.asm b/src/c/a5/addsub.asm index 06071f1..5057f2d 100644 --- a/src/c/a5/addsub.asm +++ b/src/c/a5/addsub.asm @@ -14,11 +14,11 @@ addsub: mov eax, 0 - mov operation, word [ebp+16] + mov [operation], word [ebp+16] add ax, word [ebp+8] - cmp operation, 0x2b + cmp [operation], 0x2b jne substract add ax, word [ebp-12]