Pages

Saturday, August 6, 2011

Segmentation in operating system


 Segmentation in operating system :

Residential memory of RAM of size 1MB has divided into 16 
equal parts. These parts is called segment. Each segment 
has size is 64 KB.

16 * 64 KB = 1 MB










This process of division is known as segmentation.


Note: In turbo c 3.0 physical addresses of any variables
are stored in the 20 bits. But we have not any pointers 
(We will discuss later what is pointer?)of size 20 bits.
So pointers cannot access whole residence memory 
address.To solve this problem we there are three types
pointers in c language. They are

1. Near pointer
2. Far pointer
3. Huge pointer

No comments:

Post a Comment