Skip to content

Commit

Permalink
#2: Added source.
Browse files Browse the repository at this point in the history
  • Loading branch information
saku-kaarakainen committed Sep 4, 2016
1 parent c8edcf9 commit 1900a04
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions WinBoyEmulator/GameBoy/CPU/Instruction set/Source.cs
Original file line number Diff line number Diff line change
@@ -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
{
/// <summary>
/// This class is used to determinite source of opcode <para/>
/// Use this with Instruction.Source
/// </summary>
public static class Source
{
/// <summary>d8 means immediate 8-bit data.</summary>
public const string d8 = "d8";

/// <summary>d8 means immediate 8-bit data.</summary>
public const string d8 = "d8";
}
}
1 change: 1 addition & 0 deletions WinBoyEmulator/WinBoyEmulator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<Compile Include="GameBoy\CPU\Instruction set\Generator\MiscellaneousAndControl.cs" />
<Compile Include="GameBoy\CPU\Instruction set\IInstruction.cs" />
<Compile Include="GameBoy\CPU\Instruction set\Instruction.cs" />
<Compile Include="GameBoy\CPU\Instruction set\Source.cs" />
<Compile Include="GameBoy\CPU\IRegisters.cs" />
<Compile Include="GameBoy\CPU\LR35902.cs" />
<Compile Include="GameBoy\CPU\Operand.cs" />
Expand Down

0 comments on commit 1900a04

Please sign in to comment.