コード例 #1
0
ファイル: inst.cs プロジェクト: zjmit/go2cs
 public static @string String(this CondReg c)
 {
     if (c >= CR0)
     {
         return(fmt.Sprintf("CR%d", int(c - CR0)));
     }
     else if (c >= Cond0LT && c < CR0)
     {
         return(fmt.Sprintf("Cond%d%s", int((c - Cond0LT) / 4L), new array <@string>(new @string[] { "LT", "GT", "EQ", "SO" })[(c - Cond0LT) % 4L]));
     }
     else
     {
         return(fmt.Sprintf("CondReg(%d)", int(c)));
     }
 }
コード例 #2
0
ファイル: inst.cs プロジェクト: zjmit/go2cs
 public static void IsArg(this CondReg _p0)
 {
 }