Page 1 of 1

Access byte in GDT - chapter 8

Posted: Mon Nov 25, 2013 5:43 am
by utsav_popli
access bit 7 (bit 47 of descriptor ) says: it should be set to 0 if we are not using virtual mode
But we are setting this bit, why ?

db 10011010b ; access

Re: Access byte in GDT - chapter 8

Posted: Tue Nov 26, 2013 8:21 pm
by halofreak1990
utsav_popli wrote:access bit 7 (bit 47 of descriptor ) says: it should be set to 0 if we are not using virtual mode
But we are setting this bit, why ?

db 10011010b ; access
You basically answered your own question; We're going to run in virtual mode, so the bit needs to be set.

Re: Access byte in GDT - chapter 8

Posted: Wed Nov 27, 2013 7:02 am
by utsav_popli
Ok, Thank You,
Actually tutorial said that since we are not using virtual at this point this bit should be set to 0. Thats y i got confused!!