vaseboot/include/VasEBoot/mips/asm.h

19 lines
459 B
C

#ifndef VAS_EBOOT_MIPS_ASM_HEADER
#define VAS_EBOOT_MIPS_ASM_HEADER 1
#if defined(_MIPS_SIM) && defined(_ABIN32) && _MIPS_SIM == _ABIN32
#define VAS_EBOOT_ASM_T4 $a4
#define VAS_EBOOT_ASM_T5 $a5
#define VAS_EBOOT_ASM_SZREG 8
#define VAS_EBOOT_ASM_REG_S sd
#define VAS_EBOOT_ASM_REG_L ld
#else
#define VAS_EBOOT_ASM_T4 $t4
#define VAS_EBOOT_ASM_T5 $t5
#define VAS_EBOOT_ASM_SZREG 4
#define VAS_EBOOT_ASM_REG_S sw
#define VAS_EBOOT_ASM_REG_L lw
#endif
#endif