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

Explain multi-user based operating system, Multi-user - A multi-user Opera...

Multi-user - A multi-user Operating System permits for multiple users to use the same computer at the same time and/or different times. Below are some instances of multi-user Op

What are the advantages of multi threading?, What are the advantages of mul...

What are the advantages of multi threading?  Multithreading a code can have several advantages. Improve application responsiveness --Any program in which var

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

What is internal fragmentation?, What is internal fragmentation? Consid...

What is internal fragmentation? Consider holes of 20k assume the process requests 18 bites. If we allocate accurately the request block, we are left with a hole of 2k. The over

Define program preemption, Define Program preemption The Forced de-allo...

Define Program preemption The Forced de-allocation of the CPU from a program which is executing on the CPU is known as Program preemption

Determine the syntax of the assembler directive equ, Determine the syntax o...

Determine the syntax of the assembler directive EQU The following is syntax of the assembler directive EQU: EQU

Interprocess communication, Now we consider the following questions: how ca...

Now we consider the following questions: how can the parent process communicate with its child? Or how can children processes communicate with other children? The exact answer depe

Determine utilization of cpu and the paging disk, Q. Consider the demand-p...

Q. Consider the demand-paged computer system where the level of multiprogramming is currently fixed at four. The system was recently deliberate to determine utilization of CPU and

Explain many-to-one model (green threads), Many-to-One Model (Green Threads...

Many-to-One Model (Green Threads) Implementations of the many-to-one model a lot of user threads to one kernel thread permit the application to create any number of threads tha

What are the phases of background processing, What are the phases of backgr...

What are the phases of background processing? Phases are:- Job Scheduling. Job Processing. Job Overview.

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