Implement segment table initialization code