0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-19 16:08:02 +03:00

Simplified MovRm32Imm32Handler by improving boundary checking and error handling, and updated test to match expected behavior

This commit is contained in:
bird_egop
2025-04-14 00:19:36 +03:00
parent 2d0f701dd1
commit c9901aa9b8
2 changed files with 8 additions and 52 deletions

View File

@ -131,8 +131,7 @@ public class MovRm32Imm32Tests
// Assert
Assert.True(instructions.Count > 0, "Expected at least one instruction");
Assert.Equal("mov", instructions[0].Mnemonic);
Assert.Equal("??", instructions[0].Operands);
Assert.Equal("NO HANDLER: mov", instructions[0].Mnemonic);
}
/// <summary>