mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-23 06:18:54 +00:00
20 lines
518 B
C#
20 lines
518 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Compiler.XSharp {
|
|
public class RegisterEDX : Register32 {
|
|
public static readonly RegisterEDX Instance = new RegisterEDX();
|
|
|
|
public static implicit operator RegisterEDX(MemoryAction aAction) {
|
|
Instance.Move(aAction);
|
|
return Instance;
|
|
}
|
|
|
|
public static implicit operator RegisterEDX(UInt32 aValue) {
|
|
Instance.Move(aValue);
|
|
return Instance;
|
|
}
|
|
}
|
|
}
|