segments[Definitions.LOCAL_POINTER_ADDRESS] = new MemorySegment[]{localSegment};
segments[Definitions.ARG_POINTER_ADDRESS] = new MemorySegment[]{argSegment};
segments[Definitions.THIS_POINTER_ADDRESS] = new MemorySegment[]{thisSegment};
segments[Definitions.THAT_POINTER_ADDRESS] = new MemorySegment[]{thatSegment};
keyboard = new Keyboard(ram, gui.getKeyboard());
keyboard.reset();
CallStack callStack = new CallStack(gui.getCallStack());
callStack.reset();