From 1900a043fd29abb9d9afbc6c477fa07c0936c49f Mon Sep 17 00:00:00 2001 From: saku-kaarakainen Date: Sun, 4 Sep 2016 20:17:50 +0300 Subject: [PATCH] #2: Added source. --- .../GameBoy/CPU/Instruction set/Source.cs | 21 +++++++++++++++++++ WinBoyEmulator/WinBoyEmulator.csproj | 1 + 2 files changed, 22 insertions(+) create mode 100644 WinBoyEmulator/GameBoy/CPU/Instruction set/Source.cs diff --git a/WinBoyEmulator/GameBoy/CPU/Instruction set/Source.cs b/WinBoyEmulator/GameBoy/CPU/Instruction set/Source.cs new file mode 100644 index 0000000..a8576a9 --- /dev/null +++ b/WinBoyEmulator/GameBoy/CPU/Instruction set/Source.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WinBoyEmulator.GameBoy.CPU.Instruction_set +{ + /// + /// This class is used to determinite source of opcode + /// Use this with Instruction.Source + /// + public static class Source + { + /// d8 means immediate 8-bit data. + public const string d8 = "d8"; + + /// d8 means immediate 8-bit data. + public const string d8 = "d8"; + } +} diff --git a/WinBoyEmulator/WinBoyEmulator.csproj b/WinBoyEmulator/WinBoyEmulator.csproj index c1b0cd0..d85aa34 100644 --- a/WinBoyEmulator/WinBoyEmulator.csproj +++ b/WinBoyEmulator/WinBoyEmulator.csproj @@ -54,6 +54,7 @@ +