kirby64/macros.inc

22 lines
267 B
PHP
Raw Normal View History

2020-05-23 10:09:52 +00:00
# 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
2020-07-28 07:56:35 +00:00
2020-08-16 22:18:22 +00:00
.macro BANK_INDEX bank, index
.half \bank
.half \index
2020-08-16 21:17:42 +00:00
.endm