summaryrefslogtreecommitdiff
path: root/asm/Dolphin/base
diff options
context:
space:
mode:
Diffstat (limited to 'asm/Dolphin/base')
-rw-r--r--asm/Dolphin/base/PPCArch.s127
1 files changed, 127 insertions, 0 deletions
diff --git a/asm/Dolphin/base/PPCArch.s b/asm/Dolphin/base/PPCArch.s
new file mode 100644
index 0000000..45dc04b
--- /dev/null
+++ b/asm/Dolphin/base/PPCArch.s
@@ -0,0 +1,127 @@
+.include "macros.inc"
+
+.section .text
+
+.global func_8036c178
+.type func_8036c178, @function
+func_8036c178:
+/* 8036C178 7C6000A6 */ mfmsr r3
+/* 8036C17C 4E800020 */ blr
+.size func_8036c178, . - func_8036c178
+
+
+.global func_8036c180
+.type func_8036c180, @function
+func_8036c180:
+/* 8036C180 7C600124 */ mtmsr r3
+/* 8036C184 4E800020 */ blr
+.size func_8036c180, . - func_8036c180
+
+
+.global func_8036c188
+.type func_8036c188, @function
+func_8036c188:
+/* 8036C188 7C70FAA6 */ mfspr r3, 0x3f0
+/* 8036C18C 4E800020 */ blr
+.size func_8036c188, . - func_8036c188
+
+
+.global func_8036c190
+.type func_8036c190, @function
+func_8036c190:
+/* 8036C190 7C70FBA6 */ mtspr 0x3f0, r3
+/* 8036C194 4E800020 */ blr
+.size func_8036c190, . - func_8036c190
+
+
+.global func_8036c198
+.type func_8036c198, @function
+func_8036c198:
+/* 8036C198 7C79FAA6 */ mfspr r3, 0x3f9
+/* 8036C19C 4E800020 */ blr
+.size func_8036c198, . - func_8036c198
+
+
+.global func_8036c1a0
+.type func_8036c1a0, @function
+func_8036c1a0:
+/* 8036C1A0 7C79FBA6 */ mtspr 0x3f9, r3
+/* 8036C1A4 4E800020 */ blr
+.size func_8036c1a0, . - func_8036c1a0
+
+
+.global func_8036c1a8
+.type func_8036c1a8, @function
+func_8036c1a8:
+/* 8036C1A8 7C7603A6 */ mtspr 0x16, r3
+/* 8036C1AC 4E800020 */ blr
+.size func_8036c1a8, . - func_8036c1a8
+
+
+.global func_8036c1b0
+.type func_8036c1b0, @function
+func_8036c1b0:
+/* 8036C1B0 44000002 */ sc
+/* 8036C1B4 4E800020 */ blr
+.size func_8036c1b0, . - func_8036c1b0
+
+
+.global func_8036c1b8
+.type func_8036c1b8, @function
+func_8036c1b8:
+/* 8036C1B8 7C0004AC */ sync 0
+lbl_8036c1bc:
+/* 8036C1BC 60000000 */ nop
+/* 8036C1C0 38600000 */ li r3, 0x0
+/* 8036C1C4 60000000 */ nop
+/* 8036C1C8 4BFFFFF4 */ b lbl_8036c1bc
+.size func_8036c1b8, . - func_8036c1b8
+
+
+.global func_8036c1cc
+.type func_8036c1cc, @function
+func_8036c1cc:
+/* 8036C1CC 7C78E2A6 */ mfspr r3, 0x398
+/* 8036C1D0 4E800020 */ blr
+.size func_8036c1cc, . - func_8036c1cc
+
+
+.global func_8036c1d4
+.type func_8036c1d4, @function
+func_8036c1d4:
+/* 8036C1D4 7C78E3A6 */ mtspr 0x398, r3
+/* 8036C1D8 4E800020 */ blr
+.size func_8036c1d4, . - func_8036c1d4
+
+
+.global func_8036c1dc
+.type func_8036c1dc, @function
+func_8036c1dc:
+/* 8036C1DC 7C79E3A6 */ mtspr 0x399, r3
+/* 8036C1E0 4E800020 */ blr
+.size func_8036c1dc, . - func_8036c1dc
+
+
+.global func_8036c1e4
+.type func_8036c1e4, @function
+func_8036c1e4:
+/* 8036C1E4 7C0802A6 */ mflr r0
+/* 8036C1E8 90010004 */ stw r0, 4(r1)
+/* 8036C1EC 9421FFF8 */ stwu r1, -8(r1)
+/* 8036C1F0 4BFFFF99 */ bl func_8036c188
+/* 8036C1F4 60630200 */ ori r3, r3, 0x200
+/* 8036C1F8 4BFFFF99 */ bl func_8036c190
+/* 8036C1FC 8001000C */ lwz r0, 0xc(r1)
+/* 8036C200 38210008 */ addi r1, r1, 0x8
+/* 8036C204 7C0803A6 */ mtlr r0
+/* 8036C208 4E800020 */ blr
+.size func_8036c1e4, . - func_8036c1e4
+
+
+.global func_8036c20c
+.type func_8036c20c, @function
+func_8036c20c:
+/* 8036C20C FFA0004C */ mtfsb1 0x1d
+/* 8036C210 4E800020 */ blr
+.size func_8036c20c, . - func_8036c20c
+