Simplify intermediate 16-bit register usage

This commit is contained in:
Adrian Conlon committed 2026-04-16 13:47:24 +01:00
1 parent 53e33b9eef
commit 699791f7a4
10 files changed
+110 -57

No files matched your search

+2 -1
View File
@@ -533,7 +533,8 @@ namespace LR35902
case 0: // NOP
break;
case 1: // GB: LD (nn),SP
this.Bus.Address.Assign(this.FetchWord());
this.FetchWord();
this.Bus.Address.Assign(this.Intermediate);
this.SetWord(this.SP);
break;
case 2: // GB: STOP
@@ -9,6 +9,14 @@
<AnalysisLevel>latest-all</AnalysisLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>9999</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<WarningLevel>9999</WarningLevel>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\EightBit\EightBit.csproj" />
<ProjectReference Include="..\LR35902.csproj" />