54.4k views
5 votes
how is a logical address converted to a physical address when using basic segmentation? the segment number is extracted from the logical address, and used as an index into the segment table. the segment table entry is used to find the start of the segment,a nd the rest of the logical address is added to it.

User Goddy
by
7.4k points

1 Answer

4 votes

Final answer:

A logical address is converted to a physical address in basic segmentation by extracting the segment number as an index into the segment table and adding the offset to the segment's base address.

Step-by-step explanation:

When using basic segmentation in computers, a logical address is converted to a physical address through a two-step process. Firstly, the segment number is extracted from the logical address, which serves as an index into a segment table. This table contains the base addresses of the segments in memory. Secondly, the offset, which is the rest of the logical address, is added to the base address found in the segment table to get the physical address where the data or instruction is actually stored.

User Wswebcreation
by
8.1k points