doubt on a specific section in xv6 kernel pdf
Posted: Mon Jun 02, 2014 5:31 pm
Hello,
I am reading the xv6 teaching kernel book from MIT website alongside the code. In the book there is a section on page 88 which says "A virtual segment:offset can yield a 21-bit physical address, but the Intel 8088 could only address 20 bits of memory..".
Now my question is, If the segment register is 16 bits (2 ^ 4) and offset width is 16 bits then together they can refer up to
2 ^ 4 * 2 ^ 16 which is 2 ^ 20 memory region so in effect they would yield only 20-bit physical address right ? where am i going wrong in this ?
Thanks,
Arun
I am reading the xv6 teaching kernel book from MIT website alongside the code. In the book there is a section on page 88 which says "A virtual segment:offset can yield a 21-bit physical address, but the Intel 8088 could only address 20 bits of memory..".
Now my question is, If the segment register is 16 bits (2 ^ 4) and offset width is 16 bits then together they can refer up to
2 ^ 4 * 2 ^ 16 which is 2 ^ 20 memory region so in effect they would yield only 20-bit physical address right ? where am i going wrong in this ?
Thanks,
Arun