mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-10-30 07:11:38 +00:00 
			
		
		
		
	Some instruction fixes.
This commit is contained in:
		
							parent
							
								
									6e48ca31ab
								
							
						
					
					
						commit
						cf9522a662
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -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…
	
	Add table
		
		Reference in a new issue
	
	 Skyth
						Skyth