0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-07-02 04:50:27 +03:00

Added NegRm8Handler for NEG r/m8 instruction (opcode F6 /3). Registered the new handler in InstructionHandlerFactory.

This commit is contained in:
bird_egop
2025-04-16 20:29:26 +03:00
parent f702e9da84
commit d2279f4720
2 changed files with 71 additions and 2 deletions

View File

@ -90,8 +90,9 @@ public class InstructionHandlerFactory
// NOT handler
_handlers.Add(new NotRm32Handler(_decoder));
// NEG handler
_handlers.Add(new NegRm32Handler(_decoder));
// NEG handlers
_handlers.Add(new NegRm8Handler(_decoder)); // F6 /3 - NEG r/m8
_handlers.Add(new NegRm32Handler(_decoder)); // F7 /3 - NEG r/m32
// MUL handler
_handlers.Add(new MulRm32Handler(_decoder));