Files
Diddy-Kong-Racing/include/macro.inc
T
Ryan MyersandGitHub a005a4eb3d Match all libultra, and more closely match ultralib (#466)
* Massive libultra changes

* Fix the build!

* Remove crc comment that seemd to break the score script for some reason.

* Update README score.

* Apply some suggestions

* rename sins and coss funcs.
2025-02-24 11:45:02 -05:00

26 lines
314 B
C++

# common macros
# Assembly Macros
.set K0BASE, 0x80000000
.set K1BASE, 0xA0000000
.set K2BASE, 0xC0000000
.macro glabel label
.global \label
\label:
.endm
.macro .word32 x
.word \x
.endm
.macro BANK_INDEX bank, index
.half \bank
.half \index
.endm
.macro move a, b
addu \a, \b, $zero
.endm