Difference between revisions of "Finish data transfer to SPU"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 000190d4: 3c028003 lui r2,0x8003 000190d8: 8c42ad60 lw r2,-0x52a0(r2) 000190dc: 27bdffe0 addiu r29,r29,0xffe0 000190e0: afb10014 sw r17,0x0014(...") |
|||
Line 2: | Line 2: | ||
000190d4: 3c028003 lui r2,0x8003 | 000190d4: 3c028003 lui r2,0x8003 | ||
− | 000190d8: 8c42ad60 lw r2,-0x52a0(r2) | + | 000190d8: 8c42ad60 lw r2,-0x52a0(r2) |
000190dc: 27bdffe0 addiu r29,r29,0xffe0 | 000190dc: 27bdffe0 addiu r29,r29,0xffe0 | ||
000190e0: afb10014 sw r17,0x0014(r29) | 000190e0: afb10014 sw r17,0x0014(r29) | ||
− | 000190e4: 00808821 addu r17,r4,r0 | + | 000190e4: 00808821 addu r17,r4,r0 address to read from |
000190e8: afb00010 sw r16,0x0010(r29) | 000190e8: afb00010 sw r16,0x0010(r29) | ||
− | 000190ec: 00a08021 addu r16,r5,r0 | + | 000190ec: 00a08021 addu r16,r5,r0 size of data to give SPU |
− | 000190f0: 14400010 bne r2,r0,0x00019134 | + | 000190f0: 14400010 bne r2,r0,0x00019134 |
000190f4: afbf0018 sw r31,0x0018(r29) | 000190f4: afbf0018 sw r31,0x0018(r29) | ||
000190f8: 3c028003 lui r2,0x8003 | 000190f8: 3c028003 lui r2,0x8003 | ||
− | 000190fc: 9442ad5c lhu r2,-0x52a4(r2) | + | 000190fc: 9442ad5c lhu r2,-0x52a4(r2) instruction to give SPU control |
00019100: 3c058003 lui r5,0x8003 | 00019100: 3c058003 lui r5,0x8003 | ||
00019104: 8ca5ad6c lw r5,-0x5294(r5) | 00019104: 8ca5ad6c lw r5,-0x5294(r5) | ||
00019108: 34040002 ori r4,r0,0x0002 | 00019108: 34040002 ori r4,r0,0x0002 | ||
− | 0001910c: 0c006391 jal 0x00018e44 | + | 0001910c: 0c006391 jal 0x00018e44 [[SPU transfer control]] (2, instruction, null, null) |
00019110: 00a22804 sllv r5,r2,r5 | 00019110: 00a22804 sllv r5,r2,r5 | ||
− | 00019114: 0c006391 jal 0x00018e44 | + | 00019114: 0c006391 jal 0x00018e44 [[SPU transfer control]] (1, null, null, null) |
00019118: 34040001 ori r4,r0,0x0001 | 00019118: 34040001 ori r4,r0,0x0001 | ||
0001911c: 34040003 ori r4,r0,0x0003 | 0001911c: 34040003 ori r4,r0,0x0003 | ||
00019120: 02202821 addu r5,r17,r0 | 00019120: 02202821 addu r5,r17,r0 | ||
− | 00019124: 0c006391 jal 0x00018e44 | + | 00019124: 0c006391 jal 0x00018e44 [[SPU transfer control]] (3, mem addr, dataSize) |
00019128: 02003021 addu r6,r16,r0 | 00019128: 02003021 addu r6,r16,r0 | ||
0001912c: 08006451 j 0x00019144 | 0001912c: 08006451 j 0x00019144 | ||
00019130: 02001021 addu r2,r16,r0 | 00019130: 02001021 addu r2,r16,r0 | ||
+ | |||
00019134: 02202021 addu r4,r17,r0 | 00019134: 02202021 addu r4,r17,r0 | ||
− | 00019138: 0c0062bb jal 0x00018aec | + | 00019138: 0c0062bb jal 0x00018aec [[00018aec - 00018cb4]] |
0001913c: 02002821 addu r5,r16,r0 | 0001913c: 02002821 addu r5,r16,r0 | ||
00019140: 02001021 addu r2,r16,r0 | 00019140: 02001021 addu r2,r16,r0 | ||
+ | |||
00019144: 8fbf0018 lw r31,0x0018(r29) | 00019144: 8fbf0018 lw r31,0x0018(r29) | ||
00019148: 8fb10014 lw r17,0x0014(r29) | 00019148: 8fb10014 lw r17,0x0014(r29) |
Revision as of 00:49, 22 January 2025
000190d4: 3c028003 lui r2,0x8003 000190d8: 8c42ad60 lw r2,-0x52a0(r2) 000190dc: 27bdffe0 addiu r29,r29,0xffe0 000190e0: afb10014 sw r17,0x0014(r29) 000190e4: 00808821 addu r17,r4,r0 address to read from 000190e8: afb00010 sw r16,0x0010(r29) 000190ec: 00a08021 addu r16,r5,r0 size of data to give SPU 000190f0: 14400010 bne r2,r0,0x00019134 000190f4: afbf0018 sw r31,0x0018(r29) 000190f8: 3c028003 lui r2,0x8003 000190fc: 9442ad5c lhu r2,-0x52a4(r2) instruction to give SPU control 00019100: 3c058003 lui r5,0x8003 00019104: 8ca5ad6c lw r5,-0x5294(r5) 00019108: 34040002 ori r4,r0,0x0002 0001910c: 0c006391 jal 0x00018e44 SPU transfer control (2, instruction, null, null) 00019110: 00a22804 sllv r5,r2,r5 00019114: 0c006391 jal 0x00018e44 SPU transfer control (1, null, null, null) 00019118: 34040001 ori r4,r0,0x0001 0001911c: 34040003 ori r4,r0,0x0003 00019120: 02202821 addu r5,r17,r0 00019124: 0c006391 jal 0x00018e44 SPU transfer control (3, mem addr, dataSize) 00019128: 02003021 addu r6,r16,r0 0001912c: 08006451 j 0x00019144 00019130: 02001021 addu r2,r16,r0
00019134: 02202021 addu r4,r17,r0 00019138: 0c0062bb jal 0x00018aec 00018aec - 00018cb4 0001913c: 02002821 addu r5,r16,r0 00019140: 02001021 addu r2,r16,r0
00019144: 8fbf0018 lw r31,0x0018(r29) 00019148: 8fb10014 lw r17,0x0014(r29) 0001914c: 8fb00010 lw r16,0x0010(r29) 00019150: 27bd0020 addiu r29,r29,0x0020 00019154: 03e00008 jr r31 00019158: 00000000 nop