Introduced when refactoring code with psw_set_ov() function.
cfw("psw_clr_ov();");
cfw("if ( destination + source + carryflag > 0xFF ) {");
cfw(" psw_set_cy();");
- cfw(" if (((destination & 0x7F) + (source & 0x7F) + carryflag) < 0x80);");
+ cfw(" if (((destination & 0x7F) + (source & 0x7F) + carryflag) < 0x80)");
cfw(" psw_set_ov();");
cfw("} else if (((destination & 0x7F) + (source & 0x7F) + carryflag) > 0x7F) psw_set_ov();");
cfw("if (((destination & 0x0F) + (source & 0x0F) + carryflag) > 0x0F) psw_set_ac();");