0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-08-23 09:30:27 +03:00

move handlers, remove bases

This commit is contained in:
bird_egop
2025-04-12 23:03:07 +03:00
parent acccf5169a
commit bb695cf3bb
30 changed files with 74 additions and 482 deletions

View File

@@ -3,7 +3,7 @@ namespace X86Disassembler.X86.Handlers.Group1;
/// <summary>
/// Handler for ADD r/m32, imm32 instruction (0x81 /0)
/// </summary>
public class AddImmToRm32Handler : Group1BaseHandler
public class AddImmToRm32Handler : InstructionHandler
{
/// <summary>
/// Initializes a new instance of the AddImmToRm32Handler class
@@ -65,7 +65,7 @@ public class AddImmToRm32Handler : Group1BaseHandler
byte rm = (byte)(modRM & 0x07);
// Decode the destination operand
string destOperand = _modRMDecoder.DecodeModRM(mod, rm, false);
string destOperand = ModRMDecoder.DecodeModRM(mod, rm, false);
// Read the immediate value
if (position + 3 >= Length)