コード例 #1
0
ファイル: Sfleui.cs プロジェクト: fellak/BinksDisassembler
        public Instruction Create()
        {
            var instruction = new Instruction("l.sfleui", "A,I");

            instruction.AddArgument("A", 5, 11, new RStrategy());
            instruction.AddArgument("I", 16, 16);
            return(instruction);
        }
コード例 #2
0
ファイル: Sfgts.cs プロジェクト: fellak/BinksDisassembler
        public Instruction Create()
        {
            var instruction = new Instruction("l.sfgts", "A,B");

            instruction.AddArgument("A", 5, 11, new RStrategy());
            instruction.AddArgument("B", 5, 16, new RStrategy());
            return(instruction);
        }
コード例 #3
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.macu", "A,B");

            instruction.AddArgument("A", 5, 11);
            instruction.AddArgument("B", 5, 16);
            return(instruction);
        }
コード例 #4
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.ld", "D,I(A)");

            instruction.AddArgument("D", 5, 6, new RStrategy());
            instruction.AddArgument("I", 16, 16);
            instruction.AddArgument("A", 5, 11, new RStrategy());
            return(instruction);
        }
コード例 #5
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.addi", "D,A,I");

            instruction.AddArgument("D", 5, 6, new RStrategy());
            instruction.AddArgument("A", 5, 11, new RStrategy());
            instruction.AddArgument("I", 16, 16, new SignExtStrategy());
            return(instruction);
        }
コード例 #6
0
ファイル: Andi.cs プロジェクト: fellak/BinksDisassembler
        public Instruction Create()
        {
            var instruction = new Instruction("l.andi", "D,A,K");

            instruction.AddArgument("D", 5, 6, new RStrategy());
            instruction.AddArgument("A", 5, 11, new RStrategy());
            instruction.AddArgument("K", 16, 16, new HexStrategy());
            return(instruction);
        }
コード例 #7
0
ファイル: Nop.cs プロジェクト: fellak/BinksDisassembler
        public Instruction Create()
        {
            var instruction = new Instruction("l.nop", "K");

            instruction.AddArgument("K", 16, 16);
            return(instruction);
        }
コード例 #8
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.jalr", "B");

            instruction.AddArgument("B", 5, 16, new RStrategy());
            return(instruction);
        }
コード例 #9
0
ファイル: Bf.cs プロジェクト: fellak/BinksDisassembler
        public Instruction Create()
        {
            var instruction = new Instruction("l.bf", "K");

            instruction.AddArgument("N", 26, 6, new NStrategy());
            return(instruction);
        }
コード例 #10
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.macrc", "D");

            instruction.AddArgument("D", 5, 6);
            return(instruction);
        }