mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 19:24:16 +01:00
30 lines
433 B
PHP
30 lines
433 B
PHP
.macro arm_func_start name
|
|
.align 2, 0
|
|
.global \name
|
|
.arm
|
|
.type \name, %function
|
|
.endm
|
|
|
|
.macro arm_func_end name
|
|
.size \name, .-\name
|
|
.endm
|
|
|
|
.macro thumb_func_start name
|
|
.align 2, 0
|
|
.global \name
|
|
.thumb
|
|
.thumb_func
|
|
.type \name, %function
|
|
.endm
|
|
|
|
.macro non_word_aligned_thumb_func_start name
|
|
.global \name
|
|
.thumb
|
|
.thumb_func
|
|
.type \name, %function
|
|
.endm
|
|
|
|
.macro thumb_func_end name
|
|
.size \name, .-\name
|
|
.endm
|