private void BitPatternSHF(ushort operand, out ushort value, out RegGeneral destination) { destination = (RegGeneral)((operand & 0xE000) >> 13); if ((operand & 0x1000) == 0) { value = (ushort)(((operand & 0x0F00) >> 8) + 1); } else { value = R[(operand & 0x0700) >> 8]; } }