--- sid-20060325/sid/component/cgen-cpu/arm7t/arm7f.cxx 2004-08-04 23:42:00.000000000 +0800 +++ sid-20060325-patch/sid/component/cgen-cpu/arm7t/arm7f.cxx 2006-03-29 12:56:55.021225400 +0800 @@ -1443,7 +1443,11 @@ case SHIFT_TYPE_LSL : return rm << shift; case SHIFT_TYPE_LSR : return (USI) rm >> shift; case SHIFT_TYPE_ASR : return rm >> shift; - case SHIFT_TYPE_ROR : return RORSI (rm, shift); + case SHIFT_TYPE_ROR : //return RORSI (rm, shift); // old + if (shift == 0) // it is RRX + return ((USI)rm >> 1) | ((USI)this->hardware.h_cbit << 31); + else + return RORSI (rm, shift); } abort(); }