From 06eaa4fcc5567fb2bf06fb61e4eae8b3dba96c35 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 9 Oct 2020 23:47:01 -0400 Subject: start splitting VF --- asm/SDK/VF/pf_code.s | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 asm/SDK/VF/pf_code.s (limited to 'asm/SDK/VF/pf_code.s') diff --git a/asm/SDK/VF/pf_code.s b/asm/SDK/VF/pf_code.s new file mode 100644 index 0000000..d87822a --- /dev/null +++ b/asm/SDK/VF/pf_code.s @@ -0,0 +1,16 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80006980 - 0x803E1E60 + +.global VFiPFCODE_Combine_Width +VFiPFCODE_Combine_Width: +/* 80305194 00300DF4 54 60 80 1E */ slwi r0, r3, 0x10 +/* 80305198 00300DF8 7C 60 22 14 */ add r3, r0, r4 +/* 8030519C 00300DFC 4E 80 00 20 */ blr + +.global VFiPFCODE_Divide_Width +VFiPFCODE_Divide_Width: +/* 803051A0 00300E00 54 60 84 3E */ srwi r0, r3, 0x10 +/* 803051A4 00300E04 B0 04 00 00 */ sth r0, 0(r4) +/* 803051A8 00300E08 B0 65 00 00 */ sth r3, 0(r5) +/* 803051AC 00300E0C 4E 80 00 20 */ blr -- cgit v1.2.3