public Assembler(byte[] memory, cpu580 c, Form1 form1) { this.form1 = form1; cpu = c; mem = memory; InitializeComponent(); }
public Form1() { memory = new byte[65536]; InitializeComponent(); keyboard.initbtns(); ports = new Ports(); cpu = new cpu580(memory, ports); kb = new keyboard(); asmForm = new Assembler(memory, cpu, this); dataGridView1.RowCount = 256; dataGridView1.ColumnCount = 3; redrawmemtable(); update_regs(); }