blob: e3bfc69ff0fc5b40e9f5f8a6c2f90009935c8a76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
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;
namespace Noddybox.Emulation.EightBit
{
/// <summary>
/// Provides a common 8-bit register pattern, which is two 8-bit registers rolled into one.
/// </summary>
public interface IRegister16
{
/// <summary>
/// Get/set the low byte of the 16-bit register.
/// </summary>
byte Low {get; set;}
/// <summary>
/// Get/set the high byte of the 16-bit register.
/// </summary>
byte High {get; set;}
/// <summary>
/// Get/set the value of the 16-bit register.
/// </summary>
ushort Value {get; set;}
}
}
|