以上来自于百度翻译
以下为原文
285: int switch_clock_lprc() {
9D0006C4 27BDFFF8 ADDIU SP, SP, -8
9D0006C8 AFBE0004 SW S8, 4(SP)
9D0006CC 03A0F021 ADDU S8, SP, ZERO
286: SYSKEY = 0xaa996655;
9D0006D0 3C02BF80 LUI V0, -16512
9D0006D4 3C03AA99 LUI V1, -21863
9D0006D8 34636655 ORI V1, V1, 26197
9D0006DC AC430030 SW V1, 48(V0)
287: SYSKEY = 0x556699aa;
9D0006E0 3C02BF80 LUI V0, -16512
9D0006E4 3C035566 LUI V1, 21862
9D0006E8 346399AA ORI V1, V1, -26198
9D0006EC AC430030 SW V1, 48(V0)
288: OSCCONbits.NOSC = 5;
9D0006F0 3C03BF80 LUI V1, -16512
9D0006F4 8C621200 LW V0, 4608(V1)
9D0006F8 24040005 ADDIU A0, ZERO, 5
9D0006FC 7C825204 INS V0, A0, 8, 3
9D000700 AC621200 SW V0, 4608(V1)
289: OSCCONbits.OSWEN = 1;
9D000704 3C03BF80 LUI V1, -16512
9D000708 8C621200 LW V0, 4608(V1)
9D00070C 24040001 ADDIU A0, ZERO, 1
9D000710 7C820004 INS V0, A0, 0, 1
9D000714 AC621200 SW V0, 4608(V1)
290: while (OSCCONbits.OSWEN);
9D000718 00000000 NOP
9D00071C 3C02BF80 LUI V0, -16512
9D000720 8C421200 LW V0, 4608(V0)
9D000724 30420001 ANDI V0, V0, 1
9D000728 1440FFFC BNE V0, ZERO, 0x9D00071C
9D00072C 00000000 NOP
291: return 0;
9D000730 00001021 ADDU V0, ZERO, ZERO
292: }
9D000734 03C0E821 ADDU SP, S8, ZERO
9D000738 8FBE0004 LW S8, 4(SP)
9D00073C 27BD0008 ADDIU SP, SP, 8
9D000740 03E00008 JR RA
9D000744 00000000 NOP
以上来自于百度翻译
以下为原文
285: int switch_clock_lprc() {
9D0006C4 27BDFFF8 ADDIU SP, SP, -8
9D0006C8 AFBE0004 SW S8, 4(SP)
9D0006CC 03A0F021 ADDU S8, SP, ZERO
286: SYSKEY = 0xaa996655;
9D0006D0 3C02BF80 LUI V0, -16512
9D0006D4 3C03AA99 LUI V1, -21863
9D0006D8 34636655 ORI V1, V1, 26197
9D0006DC AC430030 SW V1, 48(V0)
287: SYSKEY = 0x556699aa;
9D0006E0 3C02BF80 LUI V0, -16512
9D0006E4 3C035566 LUI V1, 21862
9D0006E8 346399AA ORI V1, V1, -26198
9D0006EC AC430030 SW V1, 48(V0)
288: OSCCONbits.NOSC = 5;
9D0006F0 3C03BF80 LUI V1, -16512
9D0006F4 8C621200 LW V0, 4608(V1)
9D0006F8 24040005 ADDIU A0, ZERO, 5
9D0006FC 7C825204 INS V0, A0, 8, 3
9D000700 AC621200 SW V0, 4608(V1)
289: OSCCONbits.OSWEN = 1;
9D000704 3C03BF80 LUI V1, -16512
9D000708 8C621200 LW V0, 4608(V1)
9D00070C 24040001 ADDIU A0, ZERO, 1
9D000710 7C820004 INS V0, A0, 0, 1
9D000714 AC621200 SW V0, 4608(V1)
290: while (OSCCONbits.OSWEN);
9D000718 00000000 NOP
9D00071C 3C02BF80 LUI V0, -16512
9D000720 8C421200 LW V0, 4608(V0)
9D000724 30420001 ANDI V0, V0, 1
9D000728 1440FFFC BNE V0, ZERO, 0x9D00071C
9D00072C 00000000 NOP
291: return 0;
9D000730 00001021 ADDU V0, ZERO, ZERO
292: }
9D000734 03C0E821 ADDU SP, S8, ZERO
9D000738 8FBE0004 LW S8, 4(SP)
9D00073C 27BD0008 ADDIU SP, SP, 8
9D000740 03E00008 JR RA
9D000744 00000000 NOP
举报