add event script macros

This commit is contained in:
yenatch
2015-10-19 09:42:57 -07:00
parent e17df124ff
commit 8fb91c74b2
6 changed files with 1658 additions and 127 deletions

29
asm/macros/function.s Normal file
View File

@@ -0,0 +1,29 @@
.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