mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-19 19:01:17 +00:00
Merge branch 'main' of https://github.com/hedge-dev/PowerRecomp
This commit is contained in:
commit
39cec3442b
@ -320,7 +320,7 @@ int main()
|
||||
break;
|
||||
|
||||
case PPC_INST_MFLR:
|
||||
std::println(f, "\tctx.lr = ctx.r{}.u64;", insn.operands[0]);
|
||||
std::println(f, "\tctx.r{}.u64 = ctx.lr;", insn.operands[0]);
|
||||
break;
|
||||
|
||||
case PPC_INST_MFMSR:
|
||||
@ -339,7 +339,7 @@ int main()
|
||||
break;
|
||||
|
||||
case PPC_INST_MTLR:
|
||||
std::println(f, "\tctx.r{}.u64 = ctx.lr;", insn.operands[0]);
|
||||
std::println(f, "\tctx.lr = ctx.r{}.u64;", insn.operands[0]);
|
||||
break;
|
||||
|
||||
case PPC_INST_MTMSRD:
|
||||
@ -390,7 +390,7 @@ int main()
|
||||
break;
|
||||
|
||||
case PPC_INST_ORI:
|
||||
std::println(f, "\tctx.r{}.u64 = ctx.r{}.u64 | {}", insn.operands[0], insn.operands[1], insn.operands[2]);
|
||||
std::println(f, "\tctx.r{}.u64 = ctx.r{}.u64 | {};", insn.operands[0], insn.operands[1], insn.operands[2]);
|
||||
break;
|
||||
|
||||
case PPC_INST_ORIS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user