sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

macros.inc (219B)


      1 #ifndef VERSION_CN
      2 .set gp=64
      3 #endif
      4 
      5 .equ K0BASE, 0x80000000
      6 .equ K1BASE, 0xA0000000
      7 .equ K2BASE, 0xC0000000
      8 
      9 .macro glabel label
     10     .global \label
     11     .balign 4
     12     \label:
     13 .endm
     14 
     15 .macro .word32 x
     16     .word \x
     17 .endm