diff --git a/compiler/arm/raarmgas.pas b/compiler/arm/raarmgas.pas index 91b8c816b7..340ef262d4 100644 --- a/compiler/arm/raarmgas.pas +++ b/compiler/arm/raarmgas.pas @@ -978,7 +978,7 @@ Unit raarmgas; case actasmtoken of AS_COMMA: { Operand delimiter } Begin - if ((instr.opcode=A_MOV) and (operandnum=2)) or + if ((instr.opcode in [A_MOV, A_MVN, A_CMP, A_CMN, A_TST, A_TEQ]) and (operandnum=2)) or ((operandnum=3) and not(instr.opcode in [A_UMLAL,A_UMULL,A_SMLAL,A_SMULL,A_MLA])) then begin Consume(AS_COMMA);