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