Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9353 leency 1
uglobal
2
LastNames       dq      ?
3
ShowNames       db      ?
4
endg
5
 
6
FindEAX:push    esi
7
        and     [LastNames],0
8
        cmp     [ShowNames],0
9
        jnz     .NoSymb
10
        cmp     eax,0x80
11
        jl      .NoSymb
12
        lea     esi,[eax-1]
13
        test    eax,esi
14
        jz      .NoSymb
15
        call    FindSymbol
16
        jc      .NoSymb
17
        mov     [LastNames],esi
18
        cmp     rdi,[TheBufferO]
19
        jz      .SetCol                 ;Skip starting address
20
        push    edi
21
    @@:
22
        lodsb
23
        test    al,al
24
        jz      @F
25
        stosb
26
        jmp     @B
27
    .SetCol:
28
        mov     [BufferO-1],byte 31h    ;Label Color
29
    .NoSymb:
30
        stc
31
        pop     esi
32
        ret
33
    @@: mov     ecx,edi
34
        sub     ecx,[esp]
35
        cmp     ecx,255
36
ifa     mov     ecx,255
37
        pop     edi
38
        add     edi,ecx
39
        clc
40
        pop     esi
41
        ret
42
 
43
include "symbols.inc"