start some tests
[ia32rtools.git] / tests / reg_call3.asm
diff --git a/tests/reg_call3.asm b/tests/reg_call3.asm
new file mode 100644 (file)
index 0000000..1438637
--- /dev/null
@@ -0,0 +1,15 @@
+; sub_test() has no args
+; need this to be able to call fastcall funcs anywhere, as fastcall may
+; sit in some fastcall table even when it doesn't use reg args
+
+_text           segment para public 'CODE' use32
+
+sub_test        proc near
+                xor     ebx, ebx
+                push    1
+                jmp     fastcall_func
+sub_test        endp
+
+_text           ends
+
+; vim:expandtab