diff --git a/simulator_SIC_XE/gui/qt/mainwindow.cpp b/simulator_SIC_XE/gui/qt/mainwindow.cpp index afc464c..45d5d37 100644 --- a/simulator_SIC_XE/gui/qt/mainwindow.cpp +++ b/simulator_SIC_XE/gui/qt/mainwindow.cpp @@ -99,9 +99,11 @@ MainWindow::MainWindow(QWidget *parent) : setupMemoryDisplay(); setupDisassemblyDisplay(); + + loadInstructionSet(); //loadDemoProgram(); - g_loader = std::make_shared(machine(), std::string(PATH_RESOURCES) + "demo_program.obj"); - g_loader->load(); + Loader loader(m_machine, std::string(PATH_RESOURCES) + "test.obj"); + loader.load(); updateRegisterDisplays(); updateMemoryDisplay();