0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 08:18:36 +03:00

Added support for far call instructions and PUSH imm16. Fixed invalid test cases in call_tests.csv and or_tests.csv

This commit is contained in:
bird_egop
2025-04-16 21:44:02 +03:00
parent 089fe4dfd4
commit fa1a7f582c
7 changed files with 304 additions and 4 deletions

View File

@ -27,11 +27,13 @@ public abstract class MemoryOperand : Operand
/// <returns>The size prefix string</returns>
protected string GetSizePrefix()
{
// Use size-based prefix
string sizePrefix = Size switch
{
8 => "byte ptr ",
16 => "word ptr ",
32 => "dword ptr ",
48 => "fword ptr ",
64 => "qword ptr ",
_ => ""
};