mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-31 13:21:05 +00:00
35 lines
1 KiB
C#
35 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86.X {
|
|
public class RegisterESI : Register32 {
|
|
public const string Name = "ESI";
|
|
public static readonly RegisterESI Instance = new RegisterESI();
|
|
|
|
public override string ToString() {
|
|
return Name;
|
|
}
|
|
|
|
public static implicit operator RegisterESI(MemoryAction aAction) {
|
|
Instance.Move(aAction.ToString());
|
|
return Instance;
|
|
}
|
|
|
|
public static implicit operator RegisterESI(UInt32 aValue) {
|
|
Instance.Move(aValue.ToString());
|
|
return Instance;
|
|
}
|
|
|
|
public static implicit operator RegisterESI(RegisterESP aValue) {
|
|
Instance.Move(aValue.ToString());
|
|
return Instance;
|
|
}
|
|
|
|
public static implicit operator RegisterESI(RegisterEBP aValue) {
|
|
Instance.Move(aValue.ToString());
|
|
return Instance;
|
|
}
|
|
}
|
|
}
|