Add project files.
This commit is contained in:
17
Core/Cpu/RegisterPair.cs
Normal file
17
Core/Cpu/RegisterPair.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
2483
Core/Cpu/Z80.cs
Normal file
2483
Core/Cpu/Z80.cs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user