mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
Merge changes from master.
This commit is contained in:
commit
d457ce0662
5 changed files with 1330 additions and 0 deletions
224
src/test/confidence/arrayassignment/old.cygwin.ILP32.gcc.s
Normal file
224
src/test/confidence/arrayassignment/old.cygwin.ILP32.gcc.s
Normal file
|
|
@ -0,0 +1,224 @@
|
|||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC10 subl $16, %esp
|
||||
C745FC00 movl $0, -4(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FB movb %al, -5(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FA movb %al, -6(%ebp)
|
||||
8345FC01 addl $1, -4(%ebp)
|
||||
807DFB00 cmpb $0, -5(%ebp)
|
||||
7508 jne L2
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
EB15 jmp L3
|
||||
0FB645FB movzbl -5(%ebp), %eax
|
||||
3A45FA cmpb -6(%ebp), %al
|
||||
74C9 je L4
|
||||
0FB655FB movzbl -5(%ebp), %edx
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
616100 .ascii "aa\0"
|
||||
6133303A .ascii "a30: \0"
|
||||
6132303A .ascii "a20: \0"
|
||||
6131303A .ascii "a10: \0"
|
||||
000000 .align 4
|
||||
41727261 .ascii "Array assignment test complete.\0"
|
||||
79206173
|
||||
7369676E
|
||||
6D656E74
|
||||
20746573
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83E4F0 andl $-16, %esp
|
||||
83EC40 subl $64, %esp
|
||||
E8000000 call ___main
|
||||
8D550C leal 12(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
98 cwtl
|
||||
89542404 movl %edx, 4(%esp)
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Platform_Init
|
||||
E8000000 call _Console__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
C7442404 movl $0, 4(%esp)
|
||||
00000000
|
||||
C7042400 movl $LC0, (%esp)
|
||||
E8000000 call _Heap_REGMOD
|
||||
A3800000 movl %eax, _m.1612
|
||||
C7050000 movl $544502577, _aa_a30
|
||||
00003173
|
||||
C7050400 movl $1663053873, _aa_a30+4
|
||||
00003130
|
||||
C7050800 movl $1848778856, _aa_a30+8
|
||||
00006820
|
||||
C7050C00 movl $808525924, _aa_a30+12
|
||||
00006420
|
||||
C7051000 movl $543712032, _aa_a30+16
|
||||
00002063
|
||||
C7051400 movl $543453747, _aa_a30+20
|
||||
00003372
|
||||
C7051800 movl $1663053873, _aa_a30+24
|
||||
00003130
|
||||
66C7051C movw $104, _aa_a30+28
|
||||
00000068
|
||||
C7442404 movl $6, 4(%esp)
|
||||
06000000
|
||||
C7042403 movl $LC1, (%esp)
|
||||
E8000000 call _Console_String
|
||||
C7442404 movl $30, 4(%esp)
|
||||
1E000000
|
||||
C7042400 movl $_aa_a30, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
C7442430 movl $_aa_a30, 48(%esp)
|
||||
00000000
|
||||
C744242C movl $_aa_a20, 44(%esp)
|
||||
2C000000
|
||||
C744243C movl $0, 60(%esp)
|
||||
00000000
|
||||
C7442428 movl $19, 40(%esp)
|
||||
13000000
|
||||
EB05 jmp L6
|
||||
8344243C addl $1, 60(%esp)
|
||||
8B44243C movl 60(%esp), %eax
|
||||
3B442428 cmpl 40(%esp), %eax
|
||||
7D20 jge L7
|
||||
8B54243C movl 60(%esp), %edx
|
||||
8B44242C movl 44(%esp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
8B4C243C movl 60(%esp), %ecx
|
||||
8B542430 movl 48(%esp), %edx
|
||||
01CA addl %ecx, %edx
|
||||
0FB612 movzbl (%edx), %edx
|
||||
8810 movb %dl, (%eax)
|
||||
0FB600 movzbl (%eax), %eax
|
||||
84C0 testb %al, %al
|
||||
75D1 jne L8
|
||||
8B54243C movl 60(%esp), %edx
|
||||
8B44242C movl 44(%esp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
C60000 movb $0, (%eax)
|
||||
C7442404 movl $6, 4(%esp)
|
||||
06000000
|
||||
C7042409 movl $LC2, (%esp)
|
||||
E8000000 call _Console_String
|
||||
C7442404 movl $20, 4(%esp)
|
||||
14000000
|
||||
C704242C movl $_aa_a20, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Console_Ln
|
||||
C7442424 movl $_aa_a30, 36(%esp)
|
||||
00000000
|
||||
C7442420 movl $_aa_a10, 32(%esp)
|
||||
20000000
|
||||
C7442438 movl $0, 56(%esp)
|
||||
00000000
|
||||
C744241C movl $9, 28(%esp)
|
||||
09000000
|
||||
EB05 jmp L9
|
||||
83442438 addl $1, 56(%esp)
|
||||
8B442438 movl 56(%esp), %eax
|
||||
3B44241C cmpl 28(%esp), %eax
|
||||
7D20 jge L10
|
||||
8B542438 movl 56(%esp), %edx
|
||||
8B442420 movl 32(%esp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
8B4C2438 movl 56(%esp), %ecx
|
||||
8B542424 movl 36(%esp), %edx
|
||||
01CA addl %ecx, %edx
|
||||
0FB612 movzbl (%edx), %edx
|
||||
8810 movb %dl, (%eax)
|
||||
0FB600 movzbl (%eax), %eax
|
||||
84C0 testb %al, %al
|
||||
75D1 jne L11
|
||||
8B542438 movl 56(%esp), %edx
|
||||
8B442420 movl 32(%esp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
C60000 movb $0, (%eax)
|
||||
C7442404 movl $6, 4(%esp)
|
||||
06000000
|
||||
C704240F movl $LC3, (%esp)
|
||||
E8000000 call _Console_String
|
||||
C7442404 movl $10, 4(%esp)
|
||||
0A000000
|
||||
C7042420 movl $_aa_a10, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $6, 4(%esp)
|
||||
06000000
|
||||
C7042409 movl $LC2, (%esp)
|
||||
E8000000 call _Console_String
|
||||
C7442404 movl $20, 4(%esp)
|
||||
14000000
|
||||
C704242C movl $_aa_a20, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Console_Ln
|
||||
C7442418 movl $_aa_a30, 24(%esp)
|
||||
00000000
|
||||
C7442414 movl $_aa_a10, 20(%esp)
|
||||
20000000
|
||||
C7442434 movl $0, 52(%esp)
|
||||
00000000
|
||||
C7442410 movl $9, 16(%esp)
|
||||
09000000
|
||||
EB05 jmp L12
|
||||
83442434 addl $1, 52(%esp)
|
||||
8B442434 movl 52(%esp), %eax
|
||||
3B442410 cmpl 16(%esp), %eax
|
||||
7D20 jge L13
|
||||
8B542434 movl 52(%esp), %edx
|
||||
8B442414 movl 20(%esp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
8B4C2434 movl 52(%esp), %ecx
|
||||
8B542418 movl 24(%esp), %edx
|
||||
01CA addl %ecx, %edx
|
||||
0FB612 movzbl (%edx), %edx
|
||||
8810 movb %dl, (%eax)
|
||||
0FB600 movzbl (%eax), %eax
|
||||
84C0 testb %al, %al
|
||||
75D1 jne L14
|
||||
8B542434 movl 52(%esp), %edx
|
||||
8B442414 movl 20(%esp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
C60000 movb $0, (%eax)
|
||||
C7442404 movl $6, 4(%esp)
|
||||
06000000
|
||||
C704240F movl $LC3, (%esp)
|
||||
E8000000 call _Console_String
|
||||
C7442404 movl $10, 4(%esp)
|
||||
0A000000
|
||||
C7042420 movl $_aa_a10, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $6, 4(%esp)
|
||||
06000000
|
||||
C7042409 movl $LC2, (%esp)
|
||||
E8000000 call _Console_String
|
||||
C7442404 movl $20, 4(%esp)
|
||||
14000000
|
||||
C704242C movl $_aa_a20, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $32, 4(%esp)
|
||||
20000000
|
||||
C7042418 movl $LC4, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Heap_FINALL
|
||||
B8000000 movl $0, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
60
src/test/confidence/hello/old.cygwin.ILP32.gcc.s
Normal file
60
src/test/confidence/hello/old.cygwin.ILP32.gcc.s
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC10 subl $16, %esp
|
||||
C745FC00 movl $0, -4(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FB movb %al, -5(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FA movb %al, -6(%ebp)
|
||||
8345FC01 addl $1, -4(%ebp)
|
||||
807DFB00 cmpb $0, -5(%ebp)
|
||||
7508 jne L2
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
EB15 jmp L3
|
||||
0FB645FB movzbl -5(%ebp), %eax
|
||||
3A45FA cmpb -6(%ebp), %al
|
||||
74C9 je L4
|
||||
0FB655FB movzbl -5(%ebp), %edx
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
68656C6C .ascii "hello\0"
|
||||
48656C6C .ascii "Hello.\0"
|
||||
000000 .text
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83E4F0 andl $-16, %esp
|
||||
83EC10 subl $16, %esp
|
||||
E8000000 call ___main
|
||||
8D550C leal 12(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
98 cwtl
|
||||
89542404 movl %edx, 4(%esp)
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Platform_Init
|
||||
E8000000 call _Console__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
C7442404 movl $0, 4(%esp)
|
||||
00000000
|
||||
C7042400 movl $LC0, (%esp)
|
||||
E8000000 call _Heap_REGMOD
|
||||
A3000000 movl %eax, _m.1608
|
||||
C7442404 movl $7, 4(%esp)
|
||||
07000000
|
||||
C7042406 movl $LC1, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Heap_FINALL
|
||||
B8000000 movl $0, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
541
src/test/confidence/language/old.cygwin.ILP32.gcc.s
Normal file
541
src/test/confidence/language/old.cygwin.ILP32.gcc.s
Normal file
|
|
@ -0,0 +1,541 @@
|
|||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC10 subl $16, %esp
|
||||
C745FC00 movl $0, -4(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FB movb %al, -5(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FA movb %al, -6(%ebp)
|
||||
8345FC01 addl $1, -4(%ebp)
|
||||
807DFB00 cmpb $0, -5(%ebp)
|
||||
7508 jne L2
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
EB15 jmp L3
|
||||
0FB645FB movzbl -5(%ebp), %eax
|
||||
3A45FA cmpb -6(%ebp), %al
|
||||
74C9 je L4
|
||||
0FB655FB movzbl -5(%ebp), %edx
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
53 pushl %ebx
|
||||
83EC34 subl $52, %esp
|
||||
66C745F4 movw $0, -12(%ebp)
|
||||
C745EC01 movl $1, -20(%ebp)
|
||||
E9BE0000 jmp L6
|
||||
C745E801 movl $1, -24(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
780F js L7
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB0F jmp L8
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3EA shrl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
8B45E8 movl -24(%ebp), %eax
|
||||
3B45EC cmpl -20(%ebp), %eax
|
||||
740C je L9
|
||||
C7042410 movl $16, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
C745E801 movl $1, -24(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7827 js L10
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89D3 movl %edx, %ebx
|
||||
89C1 movl %eax, %ecx
|
||||
D3E3 sall %cl, %ebx
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
B9200000 movl $32, %ecx
|
||||
29C1 subl %eax, %ecx
|
||||
89C8 movl %ecx, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3EA shrl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
EB21 jmp L11
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89D3 movl %edx, %ebx
|
||||
89C1 movl %eax, %ecx
|
||||
D3EB shrl %cl, %ebx
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
83C020 addl $32, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
8B45E8 movl -24(%ebp), %eax
|
||||
3B45EC cmpl -20(%ebp), %eax
|
||||
740C je L12
|
||||
C7042411 movl $17, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
D165EC sall -20(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $31, -12(%ebp)
|
||||
0F8E37FF jle L13
|
||||
66C745F4 movw $0, -12(%ebp)
|
||||
66C745F2 movw $1, -14(%ebp)
|
||||
E9E50000 jmp L14
|
||||
66C745E6 movw $1, -26(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7813 js L15
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB13 jmp L16
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
663B45F2 cmpw -14(%ebp), %ax
|
||||
740C je L17
|
||||
C7042417 movl $23, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
66C745E6 movw $1, -26(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7831 js L18
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
B9100000 movl $16, %ecx
|
||||
29C1 subl %eax, %ecx
|
||||
89C8 movl %ecx, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
EB2B jmp L19
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
83C010 addl $16, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
663B45F2 cmpw -14(%ebp), %ax
|
||||
740C je L20
|
||||
C7042418 movl $24, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
0FBF45F2 movswl -14(%ebp), %eax
|
||||
01C0 addl %eax, %eax
|
||||
668945F2 movw %ax, -14(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $15, -12(%ebp)
|
||||
0F8E10FF jle L21
|
||||
66C745F4 movw $0, -12(%ebp)
|
||||
C645F701 movb $1, -9(%ebp)
|
||||
E9DC0000 jmp L22
|
||||
C645E501 movb $1, -27(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7813 js L23
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB13 jmp L24
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
8845E5 movb %al, -27(%ebp)
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
3A45F7 cmpb -9(%ebp), %al
|
||||
740C je L25
|
||||
C704241E movl $30, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
C645E501 movb $1, -27(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7831 js L26
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
B9080000 movl $8, %ecx
|
||||
29C1 subl %eax, %ecx
|
||||
89C8 movl %ecx, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
EB2B jmp L27
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
83C008 addl $8, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
8845E5 movb %al, -27(%ebp)
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
3A45F7 cmpb -9(%ebp), %al
|
||||
740C je L28
|
||||
C704241F movl $31, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
0FBE45F7 movsbl -9(%ebp), %eax
|
||||
01C0 addl %eax, %eax
|
||||
8845F7 movb %al, -9(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $7, -12(%ebp)
|
||||
0F8E19FF jle L29
|
||||
66C745F4 movw $-1, -12(%ebp)
|
||||
C745EC01 movl $1, -20(%ebp)
|
||||
8B45EC movl -20(%ebp), %eax
|
||||
C1E01E sall $30, %eax
|
||||
8945EC movl %eax, -20(%ebp)
|
||||
8B45EC movl -20(%ebp), %eax
|
||||
01C0 addl %eax, %eax
|
||||
8945E0 movl %eax, -32(%ebp)
|
||||
E9BC0000 jmp L30
|
||||
8B45E0 movl -32(%ebp), %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
780F js L31
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB0F jmp L32
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3EA shrl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
8B45E8 movl -24(%ebp), %eax
|
||||
3B45EC cmpl -20(%ebp), %eax
|
||||
740C je L33
|
||||
C7042427 movl $39, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
8B45E0 movl -32(%ebp), %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7827 js L34
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89D3 movl %edx, %ebx
|
||||
89C1 movl %eax, %ecx
|
||||
D3E3 sall %cl, %ebx
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
B9200000 movl $32, %ecx
|
||||
29C1 subl %eax, %ecx
|
||||
89C8 movl %ecx, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3EA shrl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
EB21 jmp L35
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89D3 movl %edx, %ebx
|
||||
89C1 movl %eax, %ecx
|
||||
D3EB shrl %cl, %ebx
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
83C020 addl $32, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
8B45E8 movl -24(%ebp), %eax
|
||||
3B45EC cmpl -20(%ebp), %eax
|
||||
740C je L36
|
||||
C7042428 movl $40, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
D17DEC sarl -20(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83E801 subl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $-31, -12(%ebp)
|
||||
0F8D39FF jge L37
|
||||
66C745F4 movw $-1, -12(%ebp)
|
||||
66C745F2 movw $1, -14(%ebp)
|
||||
0FB745F2 movzwl -14(%ebp), %eax
|
||||
0FB7C0 movzwl %ax, %eax
|
||||
C1E00E sall $14, %eax
|
||||
668945F2 movw %ax, -14(%ebp)
|
||||
0FBF45F2 movswl -14(%ebp), %eax
|
||||
01C0 addl %eax, %eax
|
||||
668945DE movw %ax, -34(%ebp)
|
||||
E9E30000 jmp L38
|
||||
0FB745DE movzwl -34(%ebp), %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7813 js L39
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB13 jmp L40
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
663B45F2 cmpw -14(%ebp), %ax
|
||||
740C je L41
|
||||
C704242E movl $46, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
0FB745DE movzwl -34(%ebp), %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7831 js L42
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
B9100000 movl $16, %ecx
|
||||
29C1 subl %eax, %ecx
|
||||
89C8 movl %ecx, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
EB2B jmp L43
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7D0 movzwl %ax, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
83C010 addl $16, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
663B45F2 cmpw -14(%ebp), %ax
|
||||
740C je L44
|
||||
C704242F movl $47, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
66D17DF2 sarw -14(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83E801 subl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $-15, -12(%ebp)
|
||||
0F8D12FF jge L45
|
||||
66C745F4 movw $-1, -12(%ebp)
|
||||
C645F701 movb $1, -9(%ebp)
|
||||
0FB645F7 movzbl -9(%ebp), %eax
|
||||
0FB6C0 movzbl %al, %eax
|
||||
C1E006 sall $6, %eax
|
||||
8845F7 movb %al, -9(%ebp)
|
||||
0FBE45F7 movsbl -9(%ebp), %eax
|
||||
01C0 addl %eax, %eax
|
||||
8845DD movb %al, -35(%ebp)
|
||||
E9DC0000 jmp L46
|
||||
0FB645DD movzbl -35(%ebp), %eax
|
||||
8845E5 movb %al, -27(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7813 js L47
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB13 jmp L48
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
8845E5 movb %al, -27(%ebp)
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
3A45F7 cmpb -9(%ebp), %al
|
||||
740C je L49
|
||||
C7042435 movl $53, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
0FB645DD movzbl -35(%ebp), %eax
|
||||
8845E5 movb %al, -27(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7831 js L50
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
B9080000 movl $8, %ecx
|
||||
29C1 subl %eax, %ecx
|
||||
89C8 movl %ecx, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
EB2B jmp L51
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
89C3 movl %eax, %ebx
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
83C008 addl $8, %eax
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
09D8 orl %ebx, %eax
|
||||
8845E5 movb %al, -27(%ebp)
|
||||
0FB645E5 movzbl -27(%ebp), %eax
|
||||
3A45F7 cmpb -9(%ebp), %al
|
||||
740C je L52
|
||||
C7042436 movl $54, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
D07DF7 sarb -9(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83E801 subl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $-7, -12(%ebp)
|
||||
0F8D19FF jge L53
|
||||
66C745F4 movw $0, -12(%ebp)
|
||||
C745EC01 movl $1, -20(%ebp)
|
||||
8B45EC movl -20(%ebp), %eax
|
||||
C1E01F sall $31, %eax
|
||||
8945EC movl %eax, -20(%ebp)
|
||||
8B45EC movl -20(%ebp), %eax
|
||||
8945E0 movl %eax, -32(%ebp)
|
||||
EB50 jmp L54
|
||||
8B45E0 movl -32(%ebp), %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
780F js L55
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
89C1 movl %eax, %ecx
|
||||
D3E2 sall %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB0F jmp L56
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
8B55E8 movl -24(%ebp), %edx
|
||||
89C1 movl %eax, %ecx
|
||||
D3FA sarl %cl, %edx
|
||||
89D0 movl %edx, %eax
|
||||
8945E8 movl %eax, -24(%ebp)
|
||||
8B45E8 movl -24(%ebp), %eax
|
||||
3B45EC cmpl -20(%ebp), %eax
|
||||
740C je L57
|
||||
C704243E movl $62, (%esp)
|
||||
E8000000 call _Platform_AssertFail
|
||||
D17DEC sarl -20(%ebp)
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83E801 subl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $-31, -12(%ebp)
|
||||
7DA9 jge L58
|
||||
66C745F4 movw $0, -12(%ebp)
|
||||
66C745E6 movw $1, -26(%ebp)
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
0FB7C0 movzwl %ax, %eax
|
||||
C1E00F sall $15, %eax
|
||||
668945E6 movw %ax, -26(%ebp)
|
||||
0FB745E6 movzwl -26(%ebp), %eax
|
||||
668945F2 movw %ax, -14(%ebp)
|
||||
105
src/test/confidence/lola/old.cygwin.ILP32.gcc.s
Normal file
105
src/test/confidence/lola/old.cygwin.ILP32.gcc.s
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC10 subl $16, %esp
|
||||
C745FC00 movl $0, -4(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FB movb %al, -5(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FA movb %al, -6(%ebp)
|
||||
8345FC01 addl $1, -4(%ebp)
|
||||
807DFB00 cmpb $0, -5(%ebp)
|
||||
7508 jne L2
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
EB15 jmp L3
|
||||
0FB645FB movzbl -5(%ebp), %eax
|
||||
3A45FA cmpb -6(%ebp), %al
|
||||
74C9 je L4
|
||||
0FB655FB movzbl -5(%ebp), %edx
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
4C6F6C61 .ascii "Lola\0"
|
||||
000000 .align 4
|
||||
4C6F6C61 .ascii "Lola - compile lola source to verilog source.\0"
|
||||
202D2063
|
||||
6F6D7069
|
||||
6C65206C
|
||||
6F6C6120
|
||||
75736167 .ascii "usage:\0"
|
||||
000000 .align 4
|
||||
20206C6F .ascii " lola lola-source-file verilog-source-file\0"
|
||||
6C61206C
|
||||
6F6C612D
|
||||
736F7572
|
||||
63652D66
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83E4F0 andl $-16, %esp
|
||||
83EC10 subl $16, %esp
|
||||
E8000000 call ___main
|
||||
8D550C leal 12(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
98 cwtl
|
||||
89542404 movl %edx, 4(%esp)
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Platform_Init
|
||||
E8000000 call _Console__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
E8000000 call _LSB__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
E8000000 call _LSC__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
E8000000 call _LSV__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
E8000000 call _Platform__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
C7442404 movl $0, 4(%esp)
|
||||
00000000
|
||||
C7042400 movl $LC0, (%esp)
|
||||
E8000000 call _Heap_REGMOD
|
||||
A3000000 movl %eax, _m.1843
|
||||
0FB70500 movzwl _Platform_ArgCount, %eax
|
||||
6683F802 cmpw $2, %ax
|
||||
7F5C jg L6
|
||||
C7442404 movl $46, 4(%esp)
|
||||
2E000000
|
||||
C7042408 movl $LC1, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $7, 4(%esp)
|
||||
07000000
|
||||
C7042436 movl $LC2, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $44, 4(%esp)
|
||||
2C000000
|
||||
C7042440 movl $LC3, (%esp)
|
||||
E8000000 call _Console_String
|
||||
E8000000 call _Console_Ln
|
||||
E8000000 call _Console_Ln
|
||||
EB15 jmp L7
|
||||
E8000000 call _LSC_Compile
|
||||
0FB60500 movzbl _LSB_modname, %eax
|
||||
84C0 testb %al, %al
|
||||
7405 je L7
|
||||
E8000000 call _LSV_List
|
||||
E8000000 call _Heap_FINALL
|
||||
B8000000 movl $0, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
400
src/test/confidence/signal/old.cygwin.ILP32.gcc.s
Normal file
400
src/test/confidence/signal/old.cygwin.ILP32.gcc.s
Normal file
|
|
@ -0,0 +1,400 @@
|
|||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC10 subl $16, %esp
|
||||
C745FC00 movl $0, -4(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FB movb %al, -5(%ebp)
|
||||
8B55FC movl -4(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
8845FA movb %al, -6(%ebp)
|
||||
8345FC01 addl $1, -4(%ebp)
|
||||
807DFB00 cmpb $0, -5(%ebp)
|
||||
7508 jne L2
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
F7D8 negl %eax
|
||||
EB15 jmp L3
|
||||
0FB645FB movzbl -5(%ebp), %eax
|
||||
3A45FA cmpb -6(%ebp), %al
|
||||
74C9 je L4
|
||||
0FB655FB movzbl -5(%ebp), %edx
|
||||
0FB645FA movzbl -6(%ebp), %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
53 pushl %ebx
|
||||
83EC24 subl $36, %esp
|
||||
8B5D0C movl 12(%ebp), %ebx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Platform_OSAllocate
|
||||
89C2 movl %eax, %edx
|
||||
895C2408 movl %ebx, 8(%esp)
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
89442404 movl %eax, 4(%esp)
|
||||
891424 movl %edx, (%esp)
|
||||
E8000000 call _memcpy
|
||||
894508 movl %eax, 8(%ebp)
|
||||
66C745F6 movw $0, -10(%ebp)
|
||||
EB51 jmp L6
|
||||
0FBF55F6 movswl -10(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
39C2 cmpl %eax, %edx
|
||||
7306 jnb L7
|
||||
0FBF45F6 movswl -10(%ebp), %eax
|
||||
EB11 jmp L8
|
||||
C70424FE movl $-2, (%esp)
|
||||
E8000000 call _Platform_Halt
|
||||
B8000000 movl $0, %eax
|
||||
8B5508 movl 8(%ebp), %edx
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
A1000000 movl _Files_Rider__typ, %eax
|
||||
89542408 movl %edx, 8(%esp)
|
||||
89442404 movl %eax, 4(%esp)
|
||||
C7042404 movl $_SignalTest_rider, (%esp)
|
||||
E8000000 call _Files_Write
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F6 movw %ax, -10(%ebp)
|
||||
0FBF45F6 movswl -10(%ebp), %eax
|
||||
3B450C cmpl 12(%ebp), %eax
|
||||
7D32 jge L9
|
||||
0FBF55F6 movswl -10(%ebp), %edx
|
||||
8B450C movl 12(%ebp), %eax
|
||||
39C2 cmpl %eax, %edx
|
||||
7306 jnb L10
|
||||
0FBF45F6 movswl -10(%ebp), %eax
|
||||
EB11 jmp L11
|
||||
C70424FE movl $-2, (%esp)
|
||||
E8000000 call _Platform_Halt
|
||||
B8000000 movl $0, %eax
|
||||
8B5508 movl 8(%ebp), %edx
|
||||
01D0 addl %edx, %eax
|
||||
0FB600 movzbl (%eax), %eax
|
||||
84C0 testb %al, %al
|
||||
0F8574FF jne L12
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Platform_OSFree
|
||||
90 nop
|
||||
83C424 addl $36, %esp
|
||||
5B popl %ebx
|
||||
5D popl %ebp
|
||||
C3 ret
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC18 subl $24, %esp
|
||||
A1000000 movl _Files_Rider__typ, %eax
|
||||
C7442408 movl $10, 8(%esp)
|
||||
0A000000
|
||||
89442404 movl %eax, 4(%esp)
|
||||
C7042404 movl $_SignalTest_rider, (%esp)
|
||||
E8000000 call _Files_Write
|
||||
90 nop
|
||||
C9 leave
|
||||
C3 ret
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
53 pushl %ebx
|
||||
83EC34 subl $52, %esp
|
||||
66C745F6 movw $0, -10(%ebp)
|
||||
837D0800 cmpl $0, 8(%ebp)
|
||||
790F jns L15
|
||||
C645D82D movb $45, -40(%ebp)
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F6 movw %ax, -10(%ebp)
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
6683F81D cmpw $29, %ax
|
||||
7706 ja L16
|
||||
0FBF5DF6 movswl -10(%ebp), %ebx
|
||||
EB11 jmp L17
|
||||
C70424FE movl $-2, (%esp)
|
||||
E8000000 call _Platform_Halt
|
||||
BB000000 movl $0, %ebx
|
||||
837D0800 cmpl $0, 8(%ebp)
|
||||
782A js L18
|
||||
8B4D08 movl 8(%ebp), %ecx
|
||||
BA676666 movl $1717986919, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
F7EA imull %edx
|
||||
C1FA02 sarl $2, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
C1F81F sarl $31, %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C1E002 sall $2, %eax
|
||||
01D0 addl %edx, %eax
|
||||
01C0 addl %eax, %eax
|
||||
29C1 subl %eax, %ecx
|
||||
89CA movl %ecx, %edx
|
||||
89D0 movl %edx, %eax
|
||||
83C030 addl $48, %eax
|
||||
EB16 jmp L19
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
C7442404 movl $10, 4(%esp)
|
||||
0A000000
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _SYSTEM_MOD
|
||||
83C030 addl $48, %eax
|
||||
88441DD8 movb %al, -40(%ebp,%ebx)
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F6 movw %ax, -10(%ebp)
|
||||
837D0800 cmpl $0, 8(%ebp)
|
||||
781A js L20
|
||||
8B4D08 movl 8(%ebp), %ecx
|
||||
BA676666 movl $1717986919, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
F7EA imull %edx
|
||||
C1FA02 sarl $2, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
C1F81F sarl $31, %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB21 jmp L21
|
||||
B8090000 movl $9, %eax
|
||||
2B4508 subl 8(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
BA676666 movl $1717986919, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
F7EA imull %edx
|
||||
C1FA02 sarl $2, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
C1F81F sarl $31, %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
F7D8 negl %eax
|
||||
894508 movl %eax, 8(%ebp)
|
||||
E9BA0000 jmp L22
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
6683F81D cmpw $29, %ax
|
||||
7706 ja L23
|
||||
0FBF5DF6 movswl -10(%ebp), %ebx
|
||||
EB11 jmp L24
|
||||
C70424FE movl $-2, (%esp)
|
||||
E8000000 call _Platform_Halt
|
||||
BB000000 movl $0, %ebx
|
||||
837D0800 cmpl $0, 8(%ebp)
|
||||
782A js L25
|
||||
8B4D08 movl 8(%ebp), %ecx
|
||||
BA676666 movl $1717986919, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
F7EA imull %edx
|
||||
C1FA02 sarl $2, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
C1F81F sarl $31, %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
C1E002 sall $2, %eax
|
||||
01D0 addl %edx, %eax
|
||||
01C0 addl %eax, %eax
|
||||
29C1 subl %eax, %ecx
|
||||
89CA movl %ecx, %edx
|
||||
89D0 movl %edx, %eax
|
||||
83C030 addl $48, %eax
|
||||
EB16 jmp L26
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
C7442404 movl $10, 4(%esp)
|
||||
0A000000
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _SYSTEM_MOD
|
||||
83C030 addl $48, %eax
|
||||
88441DD8 movb %al, -40(%ebp,%ebx)
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
83C001 addl $1, %eax
|
||||
668945F6 movw %ax, -10(%ebp)
|
||||
837D0800 cmpl $0, 8(%ebp)
|
||||
781A js L27
|
||||
8B4D08 movl 8(%ebp), %ecx
|
||||
BA676666 movl $1717986919, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
F7EA imull %edx
|
||||
C1FA02 sarl $2, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
C1F81F sarl $31, %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
EB21 jmp L28
|
||||
B8090000 movl $9, %eax
|
||||
2B4508 subl 8(%ebp), %eax
|
||||
89C1 movl %eax, %ecx
|
||||
BA676666 movl $1717986919, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
F7EA imull %edx
|
||||
C1FA02 sarl $2, %edx
|
||||
89C8 movl %ecx, %eax
|
||||
C1F81F sarl $31, %eax
|
||||
29C2 subl %eax, %edx
|
||||
89D0 movl %edx, %eax
|
||||
F7D8 negl %eax
|
||||
894508 movl %eax, 8(%ebp)
|
||||
837D0800 cmpl $0, 8(%ebp)
|
||||
0F8F3CFF jg L29
|
||||
EB4D jmp L30
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
83E801 subl $1, %eax
|
||||
668945F6 movw %ax, -10(%ebp)
|
||||
0FB745F6 movzwl -10(%ebp), %eax
|
||||
6683F81D cmpw $29, %ax
|
||||
7706 ja L31
|
||||
0FBF45F6 movswl -10(%ebp), %eax
|
||||
EB11 jmp L32
|
||||
C70424FE movl $-2, (%esp)
|
||||
E8000000 call _Platform_Halt
|
||||
B8000000 movl $0, %eax
|
||||
0FB64405 movzbl -40(%ebp,%eax), %eax
|
||||
0FB6D0 movzbl %al, %edx
|
||||
A1000000 movl _Files_Rider__typ, %eax
|
||||
89542408 movl %edx, 8(%esp)
|
||||
89442404 movl %eax, 4(%esp)
|
||||
C7042404 movl $_SignalTest_rider, (%esp)
|
||||
E8000000 call _Files_Write
|
||||
66837DF6 cmpw $0, -10(%ebp)
|
||||
7FAC jg L33
|
||||
90 nop
|
||||
83C434 addl $52, %esp
|
||||
5B popl %ebx
|
||||
5D popl %ebp
|
||||
C3 ret
|
||||
5369676E .ascii "Signal: \0"
|
||||
616C3A20
|
||||
5369676E .ascii "Signal \0"
|
||||
616C2000
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC28 subl $40, %esp
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $9, 4(%esp)
|
||||
09000000
|
||||
C7042400 movl $LC0, (%esp)
|
||||
E8000000 call _Console_String
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
C7442404 movl $1, 4(%esp)
|
||||
01000000
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Console_Int
|
||||
E8000000 call _Console_Ln
|
||||
C7442404 movl $8, 4(%esp)
|
||||
08000000
|
||||
C7042409 movl $LC1, (%esp)
|
||||
E8B2FCFF call _SignalTest_ws
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
890424 movl %eax, (%esp)
|
||||
E89FFDFF call _SignalTest_wi
|
||||
E874FDFF call _SignalTest_wl
|
||||
90 nop
|
||||
C9 leave
|
||||
C3 ret
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC28 subl $40, %esp
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
EB30 jmp L36
|
||||
0FBF45F4 movswl -12(%ebp), %eax
|
||||
C7442404 movl $2, 4(%esp)
|
||||
02000000
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Console_Int
|
||||
E8000000 call _Console_Flush
|
||||
C70424E8 movl $1000, (%esp)
|
||||
E8000000 call _Platform_Delay
|
||||
0FB745F4 movzwl -12(%ebp), %eax
|
||||
83E801 subl $1, %eax
|
||||
668945F4 movw %ax, -12(%ebp)
|
||||
66837DF4 cmpw $0, -12(%ebp)
|
||||
7FC9 jg L37
|
||||
E8000000 call _Console_Ln
|
||||
90 nop
|
||||
C9 leave
|
||||
C3 ret
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83EC28 subl $40, %esp
|
||||
A1000000 movl _SignalTest_result, %eax
|
||||
890424 movl %eax, (%esp)
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
FFD0 call *%eax
|
||||
A1000000 movl _Files_Rider__typ, %eax
|
||||
8B5508 movl 8(%ebp), %edx
|
||||
89542410 movl %edx, 16(%esp)
|
||||
C744240C movl $1, 12(%esp)
|
||||
01000000
|
||||
C7442408 movl $20, 8(%esp)
|
||||
14000000
|
||||
89442404 movl %eax, 4(%esp)
|
||||
C7042404 movl $_SignalTest_rider, (%esp)
|
||||
E8000000 call _SYSTEM_ENUMR
|
||||
90 nop
|
||||
C9 leave
|
||||
C3 ret
|
||||
5369676E .ascii "SignalTest\0"
|
||||
616C5465
|
||||
72657375 .ascii "result\0"
|
||||
00 .text
|
||||
55 pushl %ebp
|
||||
89E5 movl %esp, %ebp
|
||||
83E4F0 andl $-16, %esp
|
||||
83EC10 subl $16, %esp
|
||||
E8000000 call ___main
|
||||
8D550C leal 12(%ebp), %edx
|
||||
8B4508 movl 8(%ebp), %eax
|
||||
98 cwtl
|
||||
89542404 movl %edx, 4(%esp)
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Platform_Init
|
||||
E8000000 call _Console__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
E8000000 call _Files__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
E8000000 call _Platform__init
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Heap_INCREF
|
||||
C7442404 movl $_EnumPtrs, 4(%esp)
|
||||
02040000
|
||||
C7042411 movl $LC2, (%esp)
|
||||
E8000000 call _Heap_REGMOD
|
||||
A3180000 movl %eax, _m.1984
|
||||
C7442404 movl $7, 4(%esp)
|
||||
07000000
|
||||
C704241C movl $LC3, (%esp)
|
||||
E8000000 call _Files_New
|
||||
A3000000 movl %eax, _SignalTest_result
|
||||
8B150000 movl _SignalTest_result, %edx
|
||||
A1000000 movl _Files_Rider__typ, %eax
|
||||
C744240C movl $0, 12(%esp)
|
||||
00000000
|
||||
89542408 movl %edx, 8(%esp)
|
||||
89442404 movl %eax, 4(%esp)
|
||||
C7042404 movl $_SignalTest_rider, (%esp)
|
||||
E8000000 call _Files_Set
|
||||
0FB70500 movzwl _Platform_ArgCount, %eax
|
||||
6683F801 cmpw $1, %ax
|
||||
7E18 jle L40
|
||||
C704244D movl $_SignalTest_handle, (%esp)
|
||||
E8000000 call _Platform_SetInterruptHandler
|
||||
C704244D movl $_SignalTest_handle, (%esp)
|
||||
E8000000 call _Platform_SetQuitHandler
|
||||
C7042404 movl $4, (%esp)
|
||||
E89EFEFF call _SignalTest_Take5
|
||||
A1000000 movl _SignalTest_result, %eax
|
||||
890424 movl %eax, (%esp)
|
||||
E8000000 call _Files_Register
|
||||
E8000000 call _Heap_FINALL
|
||||
B8000000 movl $0, %eax
|
||||
C9 leave
|
||||
C3 ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue