X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Freg_call5.asm;fp=tests%2Freg_call5.asm;h=d325b24b677c6cb925b5ae43b85ef6aca42791b4;hb=e627c4d0268fe9237839e68463382c2919ed59fd;hp=0000000000000000000000000000000000000000;hpb=ea43585b82e86b5c393ead41963ba6c2eca157c7;p=ia32rtools.git diff --git a/tests/reg_call5.asm b/tests/reg_call5.asm new file mode 100644 index 0000000..d325b24 --- /dev/null +++ b/tests/reg_call5.asm @@ -0,0 +1,21 @@ +; special case of callee sharing the stack frame + +_text segment para public 'CODE' use32 + +sub_test proc near + +var_8 = dword ptr -8 + + push ebp + mov ebp, esp + sub esp, 8 + mov [ebp+var_8], 1 + call ebpcall_func + and eax, 0 + leave + retn +sub_test endp + +_text ends + +; vim:expandtab