diff --git a/src/execute.c b/src/execute.c index 24e002d..dc0d4d8 100644 --- a/src/execute.c +++ b/src/execute.c @@ -263,7 +263,7 @@ static void executeDPRegister(Machine *state, a64inst_instruction *inst) { updateCondNZ(state, result, regType); state->conditionCodes.Overflow = src1Val < result; - state->conditionCodes.Carry = state->conditionCodes.Overflow; + state->conditionCodes.Carry = src1Val >= src2Val; break; case(a64inst_SUB):