Jumping to CS defined thro LDT
Posted: Thu Mar 22, 2007 6:37 am
Hi,
I have a CS/DS/SS segment defined through LDT.I hav loaded the LDTR with GDT index of the LDT descriptor.Loaded the DS,SS values with TI = 1.Then I am pushing the Code segment selector with TI =1 into stack and ip and try to do retf..it says 'invalid opcode' .
Can any one help in this regard ?
Thanks & Regards,
Sampath S
I have a CS/DS/SS segment defined through LDT.I hav loaded the LDTR with GDT index of the LDT descriptor.Loaded the DS,SS values with TI = 1.Then I am pushing the Code segment selector with TI =1 into stack and ip and try to do retf..it says 'invalid opcode' .
Can any one help in this regard ?
Thanks & Regards,
Sampath S