pokefirered/berry_fix/payload/asm/macros/function.inc
PikalaxALT 1d28c9820f Payload is now independent of agbsdk
Are you happy now @luckytyphlosion? Kappa
2019-04-21 21:54:29 -04:00

30 lines
430 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