Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #6
0
        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);
        }
Example #7
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.nop", "K");

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

            instruction.AddArgument("B", 5, 16, new RStrategy());
            return(instruction);
        }
Example #9
0
        public Instruction Create()
        {
            var instruction = new Instruction("l.bf", "K");

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

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