minor fixes
[ia32rtools.git] / tests / reg_call7.asm
CommitLineData
77d7983a 1; this is a huge mess, but similar horrors
2; have been seen coming from msvc...
3
4_text segment para public 'CODE' use32
5
6sub_test proc near
7 push ebx
8
9 add ecx, 1
10 push ecx
11 mov ebx, ecx
12
13 push ebx
14 add ebx, 1
15 jz l4
16 jns l2
17 call sub_test1
18
19 push ebx
20 add ebx, 1
21l2:
22 call sub_test2
23
24 push ebx
25 add ebx, 1
26back:
27 push ebx
28 add ebx, 1
29 test ebx, ebx
30 jz l4
31 push ebx
32 add ebx, 1
33 test ebx, ebx
34 ja l5
35 call sub_test3
36
37 push ebx
38 add ebx, 1
39 test ebx, ebx
40 jz back
41
42 push ebx
43 add ebx, 1
44l4:
45 push ebx
46 add ebx, 1
47 call sub_test4
48
49 push ebx
50 add ebx, 1
51 push ebx
52 add ebx, 1
53l5:
54 push ebx
55 add ebx, 1
56 push ebx
57 add ebx, 1
58 push ebx
59 add ebx, 1
60 call sub_test6
61 call sub_test5
62
63 mov eax, ebx
64 pop ebx
65 retn
66sub_test endp
67
68_text ends
69
70; vim:expandtab