public static void _cfc1_impl(CpuThreadState CpuThreadState, int RD, int RT)
{
switch (RD)
{
case 0: // readonly?
throw (new NotImplementedException("_cfc1_impl.RD=0"));
case 31:
CpuThreadState.GPR[RT] = (int)CpuThreadState.Fcr31.Value;
break;
default: throw (new Exception(String.Format("Unsupported CFC1({0})", RD)));
}
}