Skip to content

Commit

Permalink
More namespace refactoring for instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jnosek committed Jul 7, 2017
1 parent ec2ff22 commit 00b3398
Show file tree
Hide file tree
Showing 26 changed files with 46 additions and 97 deletions.
46 changes: 23 additions & 23 deletions AGC/AGC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@
<!-- A reference to the entire .NET Framework is automatically included -->
</ItemGroup>
<ItemGroup>
<Compile Include="Architecture\ExtraQuarterCode4.cs" />
<Compile Include="Architecture\Instructions\Compliment.cs" />
<Compile Include="Architecture\Instructions\DoubleClearAndSubtract.cs" />
<Compile Include="Architecture\Instructions\DoubleCompliment.cs" />
<Compile Include="Instructions\QuarterCodes\ExtraQuarterCode4.cs" />
<Compile Include="Instructions\Compliment.cs" />
<Compile Include="Instructions\DoubleClearAndSubtract.cs" />
<Compile Include="Instructions\DoubleCompliment.cs" />
<Compile Include="Math\DoublePrecision.cs" />
<Compile Include="Architecture\QuarterCodeInstructionList.cs" />
<Compile Include="Instructions\QuarterCodes\QuarterCodeInstructionList.cs" />
<Compile Include="Core\FixedMemory.cs" />
<Compile Include="Architecture\Instructions\DoubleClearAndAdd.cs" />
<Compile Include="Architecture\ExtraQuarterCode3.cs" />
<Compile Include="Instructions\DoubleClearAndAdd.cs" />
<Compile Include="Instructions\QuarterCodes\ExtraQuarterCode3.cs" />
<Compile Include="Registers\ErasableBankRegister.cs" />
<Compile Include="Registers\FullRegister.cs" />
<Compile Include="Core\MemoryBankOffset.cs" />
<Compile Include="Core\OnesCompliment.cs" />
<Compile Include="Math\SinglePrecision.cs" />
<Compile Include="Architecture\Instructions\BranchZeroOrMinusToFixed.cs" />
<Compile Include="Architecture\Instructions\ClearAndAdd.cs" />
<Compile Include="Architecture\Instructions\ClearAndSubtract.cs" />
<Compile Include="Architecture\Instructions\CountCompareAndSkip.cs" />
<Compile Include="Architecture\Instructions\DoubleAddToStorage.cs" />
<Compile Include="Architecture\QuarterCode5.cs" />
<Compile Include="Architecture\Instructions\TransferToStorage.cs" />
<Compile Include="Instructions\BranchZeroOrMinusToFixed.cs" />
<Compile Include="Instructions\ClearAndAdd.cs" />
<Compile Include="Instructions\ClearAndSubtract.cs" />
<Compile Include="Instructions\CountCompareAndSkip.cs" />
<Compile Include="Instructions\DoubleAddToStorage.cs" />
<Compile Include="Instructions\QuarterCodes\QuarterCode5.cs" />
<Compile Include="Instructions\TransferToStorage.cs" />
<Compile Include="Registers\CycleRightRegister.cs" />
<Compile Include="Core\IWord.cs" />
<Compile Include="Core\MemoryWord.cs" />
Expand All @@ -66,15 +66,15 @@
<Compile Include="Computer.cs" />
<Compile Include="ExtraCodeInstructionSet.cs" />
<Compile Include="InstructionSet.cs" />
<Compile Include="Architecture\Instructions\Add.cs" />
<Compile Include="Architecture\Instructions\AddToStorage.cs" />
<Compile Include="Architecture\IInstruction.cs" />
<Compile Include="Architecture\InstructionList.cs" />
<Compile Include="Architecture\Instructions\Augment.cs" />
<Compile Include="Architecture\Instructions\BranchZeroToFixed.cs" />
<Compile Include="Architecture\ExtraQuarterCode2.cs" />
<Compile Include="Architecture\QuarterCode2.cs" />
<Compile Include="Architecture\Instructions\TransferControl.cs" />
<Compile Include="Instructions\Add.cs" />
<Compile Include="Instructions\AddToStorage.cs" />
<Compile Include="Instructions\IInstruction.cs" />
<Compile Include="Instructions\InstructionList.cs" />
<Compile Include="Instructions\Augment.cs" />
<Compile Include="Instructions\BranchZeroToFixed.cs" />
<Compile Include="Instructions\QuarterCodes\ExtraQuarterCode2.cs" />
<Compile Include="Instructions\QuarterCodes\QuarterCode2.cs" />
<Compile Include="Instructions\TransferControl.cs" />
<Compile Include="MemoryMap.cs" />
<Compile Include="Processor.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down
8 changes: 1 addition & 7 deletions AGC/ExtraCodeInstructionSet.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using Apollo.Virtual.AGC.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Apollo.Virtual.AGC.Architecture;
using Apollo.Virtual.AGC.Architecture.Instructions;
using Apollo.Virtual.AGC.Instructions;

namespace Apollo.Virtual.AGC
{
Expand Down
8 changes: 1 addition & 7 deletions AGC/InstructionSet.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using Apollo.Virtual.AGC.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Apollo.Virtual.AGC.Architecture;
using Apollo.Virtual.AGC.Architecture.Instructions;
using Apollo.Virtual.AGC.Instructions;

namespace Apollo.Virtual.AGC
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// AD - 0110
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// ADS - 0010 11
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Apollo.Virtual.AGC.Core;
using Apollo.Virtual.AGC.Math;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// AUG - EX 0010 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// BZMF - EX 0110
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// BZF - EX 0001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// CA - 0011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// CS - 0100
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Apollo.Virtual.AGC.Core;
using Apollo.Virtual.AGC.Math;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// CCS - 0001
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Apollo.Virtual.AGC.Core;
using Apollo.Virtual.AGC.Math;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// DAS - 0010 00
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// DCA - EX 0011 00
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// DCS - EX 0100 00
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
interface IInstruction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
class InstructionList
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Apollo.Virtual.AGC.Architecture.Instructions;
using Apollo.Virtual.AGC.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// EQC - EX 0010
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using Apollo.Virtual.AGC.Architecture.Instructions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// EQC - 0011
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Apollo.Virtual.AGC.Architecture;
using Apollo.Virtual.AGC.Architecture.Instructions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
class ExtraQuarterCode4 : QuarterCodeInstructionList
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Apollo.Virtual.AGC.Architecture.Instructions;
using Apollo.Virtual.AGC.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// QC - 0010
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Apollo.Virtual.AGC.Architecture.Instructions;
using Apollo.Virtual.AGC.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// QC - 0101
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture
namespace Apollo.Virtual.AGC.Instructions
{
abstract class QuarterCodeInstructionList : InstructionList, IInstruction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// TC - 0000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

namespace Apollo.Virtual.AGC.Architecture.Instructions
namespace Apollo.Virtual.AGC.Instructions
{
/// <summary>
/// TS - 0101 10
Expand Down

0 comments on commit 00b3398

Please sign in to comment.