public MSP430Core(int type, ComponentRegistry registry, MSP430Config config) {
super("MSP430", "MSP430 Core", null);
logger = registry.getComponent(EmulationLogger.class);
if (logger == null) {
logger = new DefaultEmulationLogger(this, System.out);
registry.registerComponent("logger", logger);
}
MAX_INTERRUPT = config.maxInterruptVector;
MAX_MEM_IO = config.maxMemIO;