mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 16:18:37 +03:00
add tons of tests
This commit is contained in:
@ -47,9 +47,7 @@ public class SubAxImm16Handler : InstructionHandler
|
||||
var immediate = Decoder.ReadUInt16();
|
||||
|
||||
// Create the destination register operand (AX)
|
||||
// Note: Even though we're dealing with 16-bit operations (AX),
|
||||
// the tests expect 32-bit register names (EAX) in the output
|
||||
var destinationOperand = OperandFactory.CreateRegisterOperand(RegisterIndex.A, 32);
|
||||
var destinationOperand = OperandFactory.CreateRegisterOperand(RegisterIndex.A, 16);
|
||||
|
||||
// Create the source immediate operand
|
||||
var sourceOperand = OperandFactory.CreateImmediateOperand(immediate, 16);
|
||||
|
Reference in New Issue
Block a user