Using the cpu->cd.arm.flags and not cpsr for arithmetic flags (as it is meant to be used); also adding THUMB conditional branches.
Authored by: debug 2018-10-01
Parent: [r5998]
Child: [r6000]