19 |
; * along with this program ; if not, write to the Free Software |
; * along with this program ; if not, write to the Free Software |
20 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
; * |
; * |
22 |
; * $Id: cbp_3dne.asm,v 1.4 2004-08-22 11:46:09 edgomez Exp $ |
; * $Id: cbp_3dne.asm,v 1.5 2004-08-29 10:02:38 edgomez Exp $ |
23 |
; * |
; * |
24 |
; ***************************************************************************/ |
; ***************************************************************************/ |
25 |
|
|
35 |
%macro cglobal 1 |
%macro cglobal 1 |
36 |
%ifdef PREFIX |
%ifdef PREFIX |
37 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
38 |
global _%1:function |
global _%1:function %1.endfunc-%1 |
39 |
%define %1 _%1:function |
%define %1 _%1:function %1.endfunc-%1 |
40 |
%else |
%else |
41 |
global _%1 |
global _%1 |
42 |
%define %1 _%1 |
%define %1 _%1 |
43 |
%endif |
%endif |
44 |
%else |
%else |
45 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
46 |
global %1:function |
global %1:function %1.endfunc-%1 |
47 |
%else |
%else |
48 |
global %1 |
global %1 |
49 |
%endif |
%endif |
121 |
adc eax, eax |
adc eax, eax |
122 |
add esp, byte 24 |
add esp, byte 24 |
123 |
ret |
ret |
124 |
|
.endfunc |
125 |
|
|