mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-12-11 04:51:21 +04:00
nice big refactor
This commit is contained in:
@@ -48,7 +48,7 @@ public class XorMemRegHandler : InstructionHandler
|
||||
var (mod, reg, rm, destOperand) = ModRMDecoder.ReadModRM();
|
||||
|
||||
// Get the source register
|
||||
string srcReg = GetRegister32(reg);
|
||||
string srcReg = ModRMDecoder.GetRegisterName(reg, 32);
|
||||
|
||||
// Set the operands
|
||||
instruction.Operands = $"{destOperand}, {srcReg}";
|
||||
|
||||
Reference in New Issue
Block a user