summaryrefslogtreecommitdiff
path: root/arm7/lib/src/MI_swap.c
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-06-12 20:59:37 +0300
committerGitHub <noreply@github.com>2020-06-12 20:59:37 +0300
commita2dc5cb0cf5db3b4d8103ab5abc6e67faae2e3d3 (patch)
treeb39057449acad0ae7866534e5bdbad99091bd9f7 /arm7/lib/src/MI_swap.c
parent5c34c97254b35f93d9254e63265446f9f7d50817 (diff)
parent45f97db651b38ea41d33402efea293e50a31725a (diff)
Merge branch 'master' into master
Diffstat (limited to 'arm7/lib/src/MI_swap.c')
-rw-r--r--arm7/lib/src/MI_swap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arm7/lib/src/MI_swap.c b/arm7/lib/src/MI_swap.c
new file mode 100644
index 00000000..71e523f8
--- /dev/null
+++ b/arm7/lib/src/MI_swap.c
@@ -0,0 +1,6 @@
+#include "MI_swap.h"
+
+asm u32 MI_SwapWord(register u32 data, register u32 * dst) {
+ swp r0, r0, [r1]
+ bx lr
+}