summaryrefslogtreecommitdiff
path: root/asm/memory.s
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2020-12-17 13:17:58 -0600
committerGitHub <noreply@github.com>2020-12-17 13:17:58 -0600
commit096de8d9b2ffd90c52e790296bfd7c5436d45ca3 (patch)
tree9c5af2e04dea05221c71946a5dfc06471f77801d /asm/memory.s
parentbc504264f1e54b3c1e482710c592e5549828bfe1 (diff)
parentf90f3affeb9b0a66aa7df68f5fdecd692033faf9 (diff)
Merge pull request #12 from SethBarberee/master
Merge work from SethBarberee/pmd-red into pret.
Diffstat (limited to 'asm/memory.s')
-rw-r--r--asm/memory.s33
1 files changed, 0 insertions, 33 deletions
diff --git a/asm/memory.s b/asm/memory.s
index 1b9d36e..d113ece 100644
--- a/asm/memory.s
+++ b/asm/memory.s
@@ -5,39 +5,6 @@
.text
- thumb_func_start xxx_memory_attr_related
-xxx_memory_attr_related:
- push {lr}
- adds r1, r0, 0
- cmp r1, 0
- bne _0800303C
- movs r0, 0
- b _08003060
-_0800303C:
- movs r0, 0x8
- ands r0, r1
- cmp r0, 0
- beq _08003048
- movs r0, 0x4
- b _08003060
-_08003048:
- movs r2, 0x7
- ands r2, r1
- movs r0, 0x1
- cmp r2, 0x7
- beq _08003060
- movs r0, 0x2
- cmp r2, 0x1
- beq _08003060
- movs r0, 0x5
- cmp r2, 0x3
- bne _08003060
- movs r0, 0x3
-_08003060:
- pop {r1}
- bx r1
- thumb_func_end xxx_memory_attr_related
-
thumb_func_start MemorySearchFromFront
MemorySearchFromFront:
push {r4-r7,lr}