29 |
|
|
30 |
%macro cglobal 1 |
%macro cglobal 1 |
31 |
%ifdef PREFIX |
%ifdef PREFIX |
32 |
|
%ifdef MARK_FUNCS |
33 |
|
global _%1:function %1.endfunc-%1 |
34 |
|
%define %1 _%1:function %1.endfunc-%1 |
35 |
|
%else |
36 |
global _%1 |
global _%1 |
37 |
%define %1 _%1 |
%define %1 _%1 |
38 |
|
%endif |
39 |
|
%else |
40 |
|
%ifdef MARK_FUNCS |
41 |
|
global %1:function %1.endfunc-%1 |
42 |
%else |
%else |
43 |
global %1 |
global %1 |
44 |
%endif |
%endif |
45 |
|
%endif |
46 |
%endmacro |
%endmacro |
47 |
|
|
48 |
;============================================================================= |
;============================================================================= |
50 |
;============================================================================= |
;============================================================================= |
51 |
|
|
52 |
%ifdef FORMAT_COFF |
%ifdef FORMAT_COFF |
53 |
SECTION .rodata data |
SECTION .rodata |
54 |
%else |
%else |
55 |
SECTION .rodata data align=16 |
SECTION .rodata align=16 |
56 |
%endif |
%endif |
57 |
|
|
58 |
ALIGN 16 |
ALIGN 16 |
111 |
COPY_8_TO_16 2 |
COPY_8_TO_16 2 |
112 |
COPY_8_TO_16 3 |
COPY_8_TO_16 3 |
113 |
ret |
ret |
114 |
|
.endfunc |
115 |
|
|
116 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
117 |
; |
; |
147 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
148 |
COPY_16_TO_8 3 |
COPY_16_TO_8 3 |
149 |
ret |
ret |
150 |
|
.endfunc |
151 |
|
|
152 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
153 |
; |
; |
211 |
|
|
212 |
pop ebx |
pop ebx |
213 |
ret |
ret |
214 |
|
.endfunc |
215 |
|
|
216 |
|
|
217 |
ALIGN 16 |
ALIGN 16 |
230 |
|
|
231 |
pop ebx |
pop ebx |
232 |
ret |
ret |
233 |
|
.endfunc |
234 |
|
|
235 |
|
|
236 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
329 |
pop esi |
pop esi |
330 |
pop ebx |
pop ebx |
331 |
ret |
ret |
332 |
|
.endfunc |
333 |
|
|
334 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
335 |
; |
; |
397 |
pop esi |
pop esi |
398 |
pop ebx |
pop ebx |
399 |
ret |
ret |
400 |
|
.endfunc |
401 |
|
|
402 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
403 |
; |
; |
442 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
443 |
COPY_16_TO_8_ADD 3 |
COPY_16_TO_8_ADD 3 |
444 |
ret |
ret |
445 |
|
.endfunc |
446 |
|
|
447 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
448 |
; |
; |
475 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
476 |
COPY_8_TO_8 |
COPY_8_TO_8 |
477 |
ret |
ret |
478 |
|
.endfunc |
479 |
|
|