mirror of
https://github.com/farisawan-2000/kirby64.git
synced 2024-11-27 15:10:32 +00:00
22 lines
267 B
C++
22 lines
267 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
|