DOOM64-RE

DOOM 64 Reverse Engineering
Log | Files | Refs | README | LICENSE

asm.h (1496B)


      1 /************************************************************************
      2  Copyright (C) 1998,1999 NINTENDO Co,Ltd,
      3  Copyright (C) 1998,1999 MONEGI CORPORATION,
      4 	All Rights Reserved
      5 This program is a trade secret of NINTENDO Co,Ltd and MONEGI Corp. 
      6 and it is not to be reproduced, published, disclosed to others, copied,
      7 adapted, distributed, or displayed without the prior authorization of 
      8 NINTENDO Co,Ltd. and MONEGI Corp. Licensee agrees to attach or embed 
      9 this Notice on all copies of the program, including partial copies or 
     10 modified versions thereof.
     11 *************************************************************************/
     12 /************************************************************************
     13  $Date: 1999/07/06 13:21:13 $
     14  $Revision: 1.1 $
     15  $Author: doseki $
     16 ************************************************************************/
     17 
     18 #ifndef __ASM_H__
     19 #define __ASM_H__
     20 
     21 #ifdef __cplusplus
     22 extern "C" {
     23 #endif
     24 
     25 #define _MIPS_ISA_MIPS1	1	/* R2/3K */
     26 #define _MIPS_ISA_MIPS2	2	/* R4K/6K */
     27 #define _MIPS_ISA_MIPS3	3	/* R4K */
     28 #define _MIPS_ISA_MIPS4	4	/* TFP */
     29 
     30 #define _MIPS_SIM_ABI32		1	/* MIPS MSIG calling convention */
     31 #define _MIPS_SIM_NABI32	2	/* MIPS new 32-bit abi */
     32 		/* NABI32 is 64bit calling convention but 32bit type sizes) */
     33 #define _MIPS_SIM_ABI64		3	/* MIPS 64 calling convention */
     34 
     35 #define	LEAF(x)						\
     36 	.globl	x;					\
     37 	.ent	x,0;					\
     38 x:;							\
     39 	.frame	sp,0,ra
     40 
     41 #define	END(proc)					\
     42 	.end	proc
     43 
     44 
     45 #ifdef __cplusplus
     46 }
     47 #endif
     48 
     49 #endif /* !__ASM_H__ */