* arm7f.cxx (compute_operand2_immshift): Implement RRX.
+2006-03-29 Harry Hsin-Hua Pan <harry@andestech.com>
+
+ * arm7f.cxx (compute_operand2_immshift): Implement RRX.
+
2005-06-03 Jim Blandy <jimb@redhat.com>
* Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5.
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 :
+ if (shift == 0) // it is RRX
+ return ((USI)rm >> 1) | ((USI)this->hardware.h_cbit << 31);
+ else
+ return RORSI (rm, shift);
}
abort();
}