コード例 #1
0
        static List<CStatement> Twi_C(uint pc, uint instruction)
        {
            Instruction i = new Instruction(instruction);

            CStatement stat = new CStatement(CStatement.Kinds.Throw);

            if (i.TO() != 31)
                throw new Exception("Can't handle complex twi");

            List<CStatement> stats = new List<CStatement>();
            stats.Add(stat);

            return stats;
        }