mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-30 04:40:14 +00:00
change StackContents to uint, able to use now mnemoric with 3 operands, shl IL near 64 bit (unknown error), add asm line to nasm error
44 lines
No EOL
697 B
C#
44 lines
No EOL
697 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Compiler.Assembler.X86 {
|
|
public interface IInstructionWithArgument {
|
|
ElementReference ArgumentRef
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
RegistersEnum? ArgumentReg
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
uint? ArgumentValue
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
bool ArgumentIsIndirect
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
int ArgumentDisplacement
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
bool ArgumentEmpty
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |