summaryrefslogtreecommitdiff
path: root/Noddybox.Emulation.EightBit/Register16LittleEndian.cs
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2011-12-31 00:10:45 +0000
committerIan C <ianc@noddybox.co.uk>2011-12-31 00:10:45 +0000
commit4a14a990665f766e349b9027dbf980bc39f395f6 (patch)
treeba44e3f58e4792d5e496744a8f3651d5b30b3121 /Noddybox.Emulation.EightBit/Register16LittleEndian.cs
parentf96332b0913a8a365db73a1af3443c0e225a23d8 (diff)
Development check-in.
Diffstat (limited to 'Noddybox.Emulation.EightBit/Register16LittleEndian.cs')
-rw-r--r--Noddybox.Emulation.EightBit/Register16LittleEndian.cs56
1 files changed, 0 insertions, 56 deletions
diff --git a/Noddybox.Emulation.EightBit/Register16LittleEndian.cs b/Noddybox.Emulation.EightBit/Register16LittleEndian.cs
deleted file mode 100644
index ccecdaf..0000000
--- a/Noddybox.Emulation.EightBit/Register16LittleEndian.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Copyright (c) 2012 Ian Cowburn
-//
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using System.Runtime.InteropServices;
-
-namespace Noddybox.Emulation.EightBit
-{
- [StructLayout(LayoutKind.Explicit)]
- public struct Register16LittleEndian : IRegister16
- {
- #region Register fields
-
- [FieldOffset(0)]
- ushort reg;
-
- [FieldOffset(0)]
- byte low;
-
- [FieldOffset(1)]
- byte high;
-
- #endregion
-
- #region IRegister16 Members
-
- public byte Low
- {
- get {return low;}
- set {low = value;}
- }
-
- public byte High
- {
- get {return high;}
- set {high = value;}
- }
-
- public ushort Value
- {
- get {return reg;}
- set {reg = value;}
- }
-
- #endregion
- }
-}