Define implementation of segmentation with an example, Operating System

Assignment Help:

IMPLEMENTATION OF SEGMENTATION WITH AN EXAMPLE

Segmentation is a memory-management scheme that represents the user view of memory. A logical address space is the collection of segments. Every segment has a name and a length. The addresses specify both the offset and the segment name within the segment. The user thus specifies each address by two quantities: an offset and a segment name. For the simplicity of execution, the segments are numbered and are referred to by a segment number, relatively than by a segment name. Therefore, the logical address consists of a two tuple segment-number offset   

Execution is defined to map two-dimensional user-defined addresses into one-dimensional physical addresses. This mapping is distressed by segment table. Every entry in the segment table has a segment limit and a segment base. The segment base holds the starting address where the segment resides in memory, while the segment limit specifies the length of the segment.

A logical address consists of two parts an offset and a segment number, s, into that segment d. The segment number is utilized as an index to the table. The offset d of the logical address should be between 0 and the segment limit. The segment table is basically an array of base-limit register pairs.

 

1357_Implementation of  SEGMENTATION.png


Related Discussions:- Define implementation of segmentation with an example

Define a linker program, Define a linker program  A linker program lin...

Define a linker program  A linker program links the program along with other programs required for its execution.

Blocking locks, We have talked about blocking locks, which voluntarily yiel...

We have talked about blocking locks, which voluntarily yield, and spinlocks, which just spin until they acquire the lock. At ?rst, it seems like spinlocks are verywasteful, and tha

What are the disadvantages of linked allocation, What are the disadvantages...

What are the disadvantages of linked allocation? The drawbacks are a. Used only for sequential access of files. b. Direct access is not supported c. Memory space neede

Use of c and c++, One reason to learn C and C++ is simply that so much soft...

One reason to learn C and C++ is simply that so much software is written in these languages. A related, butmore fundamental reason, is that C and C++ are relatively low-level, allo

Transportation, what are the factors influencing the choice of a mode of tr...

what are the factors influencing the choice of a mode of transportation?

Write pseudo code to implement the pthread create wrapper, Write pseudo cod...

Write pseudo code to implement the pthread_create wrapper of the Tern memoizer. Note you need to describe your data structure for maintaining deterministic thread IDs. In addition,

Define shell in unix system, A Unix shell is a shell or command-line inte...

A Unix shell is a shell or command-line interpreter that gives a traditional user interface for the Unix-likesystems and for Unix operating system. Users operates the operation of

What are the different methods for handling deadlocks?, What are the differ...

What are the different methods for handling deadlocks? Deadlock detection and recovery: Permit the system to enter a deadlock state, detect it and after that rec

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd