diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-06-03 02:48:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 02:48:35 +0100 |
commit | 33a7ec1fd719b9321357aa59460cbdb9f7779053 (patch) | |
tree | 993c0c156f6a3c310cccd2a3e0ac802b59ab149e /arm9/asm/MSL_Common_arith.s | |
parent | 7e32d3758e7e36d7a67a1442cdb9386f9aa18a6e (diff) | |
parent | 6e3af5fa580d0f6aca3bb310d979323bf2a09a84 (diff) |
Merge pull request #400 from PikalaxALT/doc_heap_etc
SDK-informed refactoring
Diffstat (limited to 'arm9/asm/MSL_Common_arith.s')
-rw-r--r-- | arm9/asm/MSL_Common_arith.s | 11 |
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..5d93a4de --- /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
|