Computer Science, asked by gbunty5414, 1 year ago

Explain the concept of segmented memory what are its advantages

Answers

Answered by Raghuroxx
12

Answer:

Segmentation is the process in which the main memory of the computer is divided into different segments and each segment has its own base address. It is basically used to enhance the speed of execution of the computer system, so that processor is able to fetch and execute the data from the memory easily and fast.

The main advantages of segmentation memory are as follows:

  • It provides a powerful memory management mechanism.

  • Data related or stack related operations can be performed in different segments.
  • Code related operation can be done in separate code segments.

  • It allows to processes to easily share data.

  • It allows to extend the address ability of the processor, i.e. segmentation allows the use of 16 bit registers to give an addressing capability of 1 Megabytes. Without segmentation, it would require 20 bit registers.

  • It is possible to enhance the memory size of code data or stack segments beyond 64 KB by allotting more than one segment for each area.

Explanation:

i hope it is very helpful for you!!!

Answered by madhusri378
1

Answer:

Segmentation is the process by which the computer's main memory is logically divided into different segments, each with its own base address. It is primarily used to increase the speed with which the computer system executes, so that the processor can easily and quickly retrieve and execute data from memory. The Bus Interface Unit (BIU) contains four 16-bit special-purpose registers known as Segment Registers (discussed further below).

  • Code segment register (CS): is used for addressing memory location in the code segment of the memory, where the executable programme is stored.
  • Data segment register (DS): points to the memory's data segment where the data is stored.
  • Extra Segment Register (ES): refers to a memory segment that is another data segment in the memory.
  • Stack Segment Register (SS): This register is used to address the memory's stack segment. The stack segment is the area of memory used to store stack data.

The following are the primary benefits of segmentation:

  • It has a strong memory management mechanism.
  • Different segments can perform data-related or stack-related operations.
  • Separate code segments can be used for code-related operations.
  • It makes it possible for processes to easily share data.
  • It allows the processor's address capability to be extended; for example, segmentation allows the use of 16 bit registers to provide an addressing capability of 1 Megabyte.

#SPJ2

Similar questions