Skip to content

Commit

Permalink
Intermediate fix
Browse files Browse the repository at this point in the history
Fix for issue 24 in f9dasm, which applies in dasmfw as well
  • Loading branch information
Arakula authored Jul 4, 2023
1 parent de72c35 commit fba52d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dasm6809.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,9 @@ if (T & 0x80)
{
lbl = FindLabel(PC, Const);
T = GetUByte(PC);
string slbl = lbl ? lbl->GetText() : Number2String(T, 2, PC);
string slbl = lbl ?
lbl->GetText() :
SignedNumber2String((signed char)T, 2, PC);
buf = sformat("[%s,%s]",
slbl.c_str(),
MnemoCase(regname[R]).c_str());
Expand Down

0 comments on commit fba52d4

Please sign in to comment.