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

List disadvantages of using a single directory, List disadvantages of using...

List disadvantages of using a single directory. Users have no privacy. Users must be careful in choosing file names, to avoid names used by others. Users may destroy each othe

What is the use of fork and exec system calls, What is the use of fork and ...

What is the use of fork and exec system calls? Fork is a system call by which a latest process is created. Exec is also a system call, which is used after a fork by one of the

Define overflow chaining, Define Overflow Chaining Another method will ...

Define Overflow Chaining Another method will divide the pre-allocated table into two sections: the primary area to determine which keys are mapped and an area for collisions, g

Explain threads for executing concurrent application code, Explain Threads ...

Explain Threads for Executing Concurrent Application Code The thread has been introduced in many operating systems as an efficient mechanism for executing concurrent applicatio

Explain next fit algorithm, NEXT FIT ALGORITHM Here scanning starts fro...

NEXT FIT ALGORITHM Here scanning starts from the first fit position and then it finds the next position which is large sufficient to hold the process. Thus the name next fit.

Explain about input - output system management, Q. Explain about Input - Ou...

Q. Explain about Input - Output System Management? I/O System Management The module which keeps track of the status of devices is known as I/O traffic controller. Every

Question 3:, Question 3: (a) Fincorp Ltd is an insurance company wishing t...

Question 3: (a) Fincorp Ltd is an insurance company wishing to change over to a better business system using an improved version of a financial information system (FIS). The direc

Array-initialization loops using lru replacement algorithm, Q. Consider th...

Q. Consider the two-dimensional array A: int A[][] = new int[100][100]; Whereas A [0][0] is at location 200 in a paged memory system with pages of size 200. A little process

Explain the procedure for handling the page fault, The procedure for handli...

The procedure for handling the page fault is as follows 1. We check the internal table to verify whether the reference was valid or invalid. 2. If the reference was invalid,

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