mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-31 05:11:08 +00:00
37 lines
No EOL
836 B
C#
37 lines
No EOL
836 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86 {
|
|
public abstract class InstructionWithDestination : Instruction, IInstructionWithDestination {
|
|
public ElementReference DestinationRef {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public Guid DestinationReg {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public uint? DestinationValue {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool DestinationIsIndirect {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public int DestinationDisplacement {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public override string ToString() {
|
|
return base.mMnemonic + " " + this.GetDestinationAsString();
|
|
}
|
|
}
|
|
} |