On 11/27/2016 09:42 AM, Laurent Vivier wrote:
> + env->dregs[destr] = deposit32(quot, 16, 16, rem); > env->cc_z = quot; > env->cc_n = quot;quot is here a 32bit, but the result is only the 16 lower bits, so I think we should haveenv->cc_z = (int16_t)quot; env->cc_n = (int16_t)quot;
Yep, you're right. r~