Beispiel #1
0
 public Form1()
 {
     InitializeComponent();
     marie = new Computer(MARvalue, PCvalue, ACvalue, MBRvalue, IRvalue, InRegValue, OutRegValue);
     Labels = new List<KeyValuePair<String, String>>();
     origin = 0;
     loaded = false;
     printMarie();
     MemoryView.DataSource = memory;
     LabelView.DataSource = Labels;
 }
Beispiel #2
0
 public void start(Computer current)
 {
     _momentSignal = 0;
     timer.Start();
     this.Current = current;
 }
Beispiel #3
0
 private void Clear_Click(object sender, EventArgs e)
 {
     marie = new Computer(MARvalue, PCvalue, ACvalue, MBRvalue, IRvalue, InRegValue, OutRegValue);
     printMarie();
     origin = 0;
     loaded = false;
     CodeBox.Clear();
     Labels = new List<KeyValuePair<String, String>>();
     LabelView.DataSource = Labels;
 }