diff --git a/src/c/a5/addsub.asm b/src/c/a5/addsub.asm index 1c7c36b..2842278 100644 --- a/src/c/a5/addsub.asm +++ b/src/c/a5/addsub.asm @@ -8,6 +8,14 @@ addsub: mov ebp, esp mov eax, 0 + sub esp, 4 + + mov [ebp-4], word 1 + + mov eax,0 + add ax, word [foo] + add ax, word [ebp+8] + add ax, word [ebp-4] mov esp, ebp pop ebp