fix misleading-indentation
This commit is contained in:
parent
3220c5f1b1
commit
655f62082d
@ -360,21 +360,40 @@ void Logic::AddSpecialSyntaxCommand(void)
|
|||||||
// assignv
|
// assignv
|
||||||
case 0x04: ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(ReadByte()); break;
|
case 0x04: ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(ReadByte()); break;
|
||||||
// addn
|
// addn
|
||||||
case 0x05: if (SpecialSyntaxType == 0)
|
case 0x05:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" + "+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" + "+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" += "+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" += "+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// addv
|
// addv
|
||||||
case 0x06: if (SpecialSyntaxType == 0)
|
case 0x06:
|
||||||
|
if (SpecialSyntaxType == 0)
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" + v"+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" + v"+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" += v"+IntToStr(ReadByte()); break;
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" += v"+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// subn
|
// subn
|
||||||
case 0x07: if (SpecialSyntaxType == 0)
|
case 0x07:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" - "+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" - "+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" -= "+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" -= "+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// subv
|
// subv
|
||||||
case 0x08: if (SpecialSyntaxType == 0)
|
case 0x08:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" - v"+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" - v"+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" -= v"+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" -= v"+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// lindirectv
|
// lindirectv
|
||||||
case 0x09: ThisLine += "*v"+IntToStr(arg1)+" = v"+IntToStr(ReadByte()); break;
|
case 0x09: ThisLine += "*v"+IntToStr(arg1)+" = v"+IntToStr(ReadByte()); break;
|
||||||
// rindirect
|
// rindirect
|
||||||
@ -382,21 +401,41 @@ void Logic::AddSpecialSyntaxCommand(void)
|
|||||||
// lindirectn
|
// lindirectn
|
||||||
case 0x0B: ThisLine += "*v"+IntToStr(arg1)+" = "+IntToStr(ReadByte()); break;
|
case 0x0B: ThisLine += "*v"+IntToStr(arg1)+" = "+IntToStr(ReadByte()); break;
|
||||||
// mul.n
|
// mul.n
|
||||||
case 0xA5: if (SpecialSyntaxType == 0)
|
case 0xA5:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" * "+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" * "+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" *= "+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" *= "+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// mul.v
|
// mul.v
|
||||||
case 0xA6: if (SpecialSyntaxType == 0)
|
case 0xA6:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" * v"+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" * v"+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" *= v"+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" *= v"+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// div.n
|
// div.n
|
||||||
case 0xA7: if (SpecialSyntaxType == 0)
|
case 0xA7:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" / "+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" / "+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" /= "+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" /= "+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
// div.v
|
// div.v
|
||||||
case 0xA8: if (SpecialSyntaxType == 0)
|
case 0xA8:
|
||||||
|
if (SpecialSyntaxType == 0) {
|
||||||
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" / v"+IntToStr(ReadByte());
|
ThisLine += "v"+IntToStr(arg1)+" = v"+IntToStr(arg1)+" / v"+IntToStr(ReadByte());
|
||||||
else ThisLine += "v"+IntToStr(arg1)+" /= v"+IntToStr(ReadByte()); break;
|
}
|
||||||
|
else {
|
||||||
|
ThisLine += "v"+IntToStr(arg1)+" /= v"+IntToStr(ReadByte());
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user