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:
@ -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 ",
|
||||
_ => ""
|
||||
};
|
||||
|
Reference in New Issue
Block a user