summaryrefslogtreecommitdiff
path: root/arm9/asm/MSL_Common_arith.s
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/asm/MSL_Common_arith.s')
-rw-r--r--arm9/asm/MSL_Common_arith.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/arm9/asm/MSL_Common_arith.s b/arm9/asm/MSL_Common_arith.s
new file mode 100644
index 00000000..ff25ce37
--- /dev/null
+++ b/arm9/asm/MSL_Common_arith.s
@@ -0,0 +1,11 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ arm_func_start abs
+abs: ; 0x020DE3F0
+ cmp r0, #0x0
+ rsblt r0, r0, #0x0
+ bx lr
+ arm_func_end abs