Add project files.

This commit is contained in:
2026-05-08 20:25:51 +01:00
parent 9c2a8acd45
commit 7511e17c3e
9 changed files with 2753 additions and 0 deletions

17
Core/Cpu/RegisterPair.cs Normal file
View File

@@ -0,0 +1,17 @@
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;
}
}