I want to update Data Segment selector to point to some other entry in GDT. But Since I am very new to assembly, I can not do it in my code. However I have updated the Code Segment Selector by using following assembly instruction:
ljmp $(GDT_TABLE_INDEX), $(1f) //This instruction simply points code segment to some other entry in GDT and move to next label.
Is there some similar or alternative instruction to update Data Segment Selector also ?