Re: [GXemul-devel] ARM SBC instruction emulation does not set CPSR oVerflow bit
Status: Alpha
Brought to you by:
gavare
From: Anders G. <ga...@gm...> - 2019-06-01 20:05:54
|
> Ok, I think I found the problem in cpu_arm_instr_dpi.cc. I have changed the code to: > #if defined(A__SBC) || defined(A__RSC) > c64 = a - b - (cpu->cd.arm.flags & ARM_F_C? 0 : 1); > #endif > > Best regards, > Joergen Thanks Joergen, nice catch! The patch looks reasonable and has been applied. Included in the latest http://gavare.se/gxemul/src/gxemul-trunk.tar.gz Anders |