Access byte in GDT - chapter 8

General questions related to the company.

Moderator:Moderators

Post Reply
utsav_popli
Posts:7
Joined:Sat Nov 28, 2009 7:39 am
Location:San Jose, CA
Access byte in GDT - chapter 8

Post by utsav_popli » Mon Nov 25, 2013 5:43 am

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

halofreak1990
Posts:92
Joined:Thu May 27, 2010 8:54 pm
Location:Netherlands

Re: Access byte in GDT - chapter 8

Post by halofreak1990 » Tue Nov 26, 2013 8:21 pm

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.

utsav_popli
Posts:7
Joined:Sat Nov 28, 2009 7:39 am
Location:San Jose, CA

Re: Access byte in GDT - chapter 8

Post by utsav_popli » Wed Nov 27, 2013 7:02 am

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!!

Post Reply