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
@@ -3,7 +3,7 @@ namespace X86Disassembler.X86.Handlers.Group1;
/// <summary>
/// Handler for AND r/m32, imm8 (sign-extended) instruction (0x83 /4)
/// </summary>
public class AndImmWithRm32SignExtendedHandler : Group1BaseHandler
public class AndImmWithRm32SignExtendedHandler : InstructionHandler
{
/// <summary>
/// Initializes a new instance of the AndImmWithRm32SignExtendedHandler class
@@ -65,7 +65,7 @@ public class AndImmWithRm32SignExtendedHandler : 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 (sign-extended from 8 to 32 bits)
if (position >= Length)