Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     mipsObject = new MIPS();
     mipsRegGrid.Rows.Clear();
     pipRegGrid.Rows.Clear();
     pcTextBox.Text = "1000";
     xDim           = yDim = columnToDisplay = 0;
     gabCycles      = 4;
     desiredJumpPC  = desiredLevel = -1;
     mipsObject.fillInstructionSet(userCodeData);
     mipsObject.update(mipsRegGrid, pcTextBox);
 }
Exemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     mipsObject = new MIPS();
     mipsObject.update(mipsRegGrid, pcTextBox);
 }