Le 02/01/2018 à 18:13, Richard Henderson a écrit : > On 01/01/2018 05:10 PM, Laurent Vivier wrote: >> env->sr = tmp; >> + m68k_switch_sp(env); > > I would much prefer a cpu_m68k_set_sr here, akin to cpu_m68k_set_ccr.
Yes, it's a good idea, I also use several times helper_set_sr() directly, I will replace them by a cpu_m68k_set_sr(). Thanks, Laurent