private RegisterStorage CrFromOperand(ConditionOperand ccOp) { return arch.CrRegisters[(int)ccOp.condition >> 2]; }
private ConditionCode CcFromOperand(ConditionOperand ccOp) { switch (ccOp.condition & 3) { case 0: return ConditionCode.LT; case 1: return ConditionCode.GT; case 2: return ConditionCode.EQ; case 3: return ConditionCode.OV; default: throw new NotImplementedException(); } }