MemorySegment[][] segments = new MemorySegment[Definitions.RAM_SIZE][];
RAM ram = new RAM(null, segments, null);
ram.addErrorListener(this);
ram.reset();
// assignes the memory segments
AbsolutePointedMemorySegment stackSegment =
new AbsolutePointedMemorySegment(ram, null);
TrimmedAbsoluteMemorySegment workingStackSegment =