Subversion Repositories Kolibri OS

Rev

Rev 7134 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7134 Rev 7649
Line 9... Line 9...
9
 compare_table:
9
 compare_table:
10
  dd compare_by_name
10
  dd compare_by_name
11
  dd compare_by_extension
11
  dd compare_by_extension
Line 12... Line 12...
12
 
12
 
13
; AL = panel
13
; AL = panel
14
__func mfar_sort
14
func mfar_sort
15
        pusha
15
        pusha
16
        cmp     al,0
16
        cmp     al,0
17
        jne    ._00
17
        jne    ._00
18
        mov     eax,[d_lcnt]
18
        mov     eax,[d_lcnt]
Line 67... Line 67...
67
 
67
 
Line 68... Line 68...
68
;------------------------------------------------------------------------------
68
;------------------------------------------------------------------------------
69
 
69
 
70
; ESI = pointer to 1st file info
70
; ESI = pointer to 1st file info
71
; EDI = pointer to 2nd file info
71
; EDI = pointer to 2nd file info
72
__func compare_by_name
72
func compare_by_name
73
        mov     ecx,11
73
        mov     ecx,11
74
        push    edi esi
74
        push    edi esi
75
        repe    cmpsb
75
        repe    cmpsb
Line 100... Line 100...
100
 
100
 
Line 101... Line 101...
101
;------------------------------------------------------------------------------
101
;------------------------------------------------------------------------------
102
 
102
 
103
; ESI = pointer to 1st file info
103
; ESI = pointer to 1st file info
104
; EDI = pointer to 2nd file info
104
; EDI = pointer to 2nd file info
105
__func compare_by_extension
105
func compare_by_extension
106
        push    edi esi
106
        push    edi esi
107
        mov     ecx,3
107
        mov     ecx,3
108
        add     esi,8
108
        add     esi,8