alu = new ALUComponent();
a = new RegisterComponent();
d = new RegisterComponent();
pc = new RegisterComponent();
setRegistersNames();
bus = new BusComponent();
jbInit();
// Sets the top level location of RAM and ROM.
ram.setTopLevelLocation(this);
rom.setTopLevelLocation(this);