mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 02:31:22 +00:00
15 lines
406 B
C#
15 lines
406 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Assembler.XSharp {
|
|
public class RegisterDX : Register16 {
|
|
public static readonly RegisterDX Instance = new RegisterDX();
|
|
|
|
public static implicit operator RegisterDX(UInt16 aValue) {
|
|
Instance.Move(aValue);
|
|
return Instance;
|
|
}
|
|
}
|
|
}
|