public void storeCommand(command cmd) { commands.Add(cmd); }
private double run(command cmd) { controlUnit.storeCommand(cmd); controlUnit.executeCommand(); return(arithmeticUnit.register); }