- bindMicroInstructionMemory(MicroInstructionMemoryParser.parseMemory(
- MachineContext.getInstance().getMachine().getDefinition().getMicroInstructionMemoryDefinition(), file.getContents()));
+ bindMicroInstructionMemory(MicroInstructionMemoryParser.parseMemory(context.getMachineDefinition()
+ .orElseThrow(() -> new MicroInstructionMemoryParseException("No MachineDefinition assigned!"))
+ .getMicroInstructionMemoryDefinition(), file.getContents()));