示例#1
0
文件: UnitTests.cs 项目: raz2017/MIPS
        public void TestAllInstructions()
        {
            _instructionList = new Instructions();

            PipeLinedDataPath pipeLineTest = new PipeLinedDataPath(_instructionList);

            pipeLineTest.ProcessInstructions();
        }
示例#2
0
文件: UnitTests.cs 项目: raz2017/MIPS
        public void TestNOOPInstruction()
        {
            _instructionList = new TestInstructions()
            {
                mipsInstructions = new List <int>()
                {
                    0x00000000
                }
            };

            PipeLinedDataPath pipeLineTest = new PipeLinedDataPath(_instructionList);

            pipeLineTest.ProcessInstructions();
        }
示例#3
0
文件: Program.cs 项目: raz2017/MIPS
        static void Main(string[] args)
        {
            PipeLinedDataPath pipe = new PipeLinedDataPath(new Instructions());

            pipe.ProcessInstructions();
        }