17 lines
303 B
C#
17 lines
303 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Core.Cpu
|
|
{
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public struct RegisterPair
|
|
{
|
|
[FieldOffset(0)]
|
|
public ushort Word;
|
|
|
|
[FieldOffset(0)]
|
|
public byte Low;
|
|
|
|
[FieldOffset(1)]
|
|
public byte High;
|
|
}
|
|
} |