Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clamchowder committed Oct 11, 2024
1 parent be11ee8 commit 037b35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AsmGen/tests/IdrfTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public override void GenerateAsm(StringBuilder sb, IUarchTest.ISA isa)
{
if (addIdx < addCount)
{
string addInstr = " add $" + (i + 1) + ", %r1" + (12 + (i % 4));
string addInstr = " add $" + (i + 1) + ", %r" + (12 + (i % 4));
testInstructions.Add(addInstr);
addIdx++;
}
Expand All @@ -46,7 +46,7 @@ public override void GenerateAsm(StringBuilder sb, IUarchTest.ISA isa)
}
else
{
string branchInstr = " test %r11, %r11\n je {dummyBranchTargetName}";
string branchInstr = $" test %r11, %r11\n je {dummyBranchTargetName}";
testInstructions.Add(branchInstr);
}
}
Expand Down

0 comments on commit 037b35e

Please sign in to comment.