예제 #1
0
    static public void Step()
    {
//       print(Fetch.Show_F_predPC().ToString("X2"));
//        print(((int)Write_back.Show_W_state()).ToString("X2"));
        if (state == Control.States.SAOK)
        {
            Control.Work();
            Updata.Work();
            Write_back.Work();
            Memory.Work();
            Excute.Work();
            Decode.Work();
            Fetch.Work();
            Display.Shown_Log();
            BreakControl.Jmp_Break();
        }
//        print(Fetch.Show_F_predPC().ToString("X2"));
//        print(((int)Write_back.Show_W_state()).ToString("X2"));
//        print("-------------------------------------------");
    }