mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
40 lines
No EOL
708 B
C#
40 lines
No EOL
708 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Compiler.Assembler.X86 {
|
|
public interface IInstructionWithSource {
|
|
ElementReference SourceRef {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
RegistersEnum? SourceReg
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
uint? SourceValue
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
bool SourceIsIndirect {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
int SourceDisplacement {
|
|
get;
|
|
set;
|
|
}
|
|
bool SourceEmpty
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |