Esempio n. 1
0
File: inst.cs Progetto: zjmit/go2cs
        public static @string String(this ImmShift @is)
        {
            if (@is.shift == 0L)
            {
                return fmt.Sprintf("#%#x", @is.imm);
            }

            if (@is.shift < 128L)
            {
                return fmt.Sprintf("#%#x, LSL #%d", @is.imm, @is.shift);
            }

            return fmt.Sprintf("#%#x, MSL #%d", @is.imm, @is.shift - 128L);

        }
Esempio n. 2
0
File: inst.cs Progetto: zjmit/go2cs
 public static void isArg(this ImmShift _p0)
 {
 }