Memory Protection

Why do we need memory protection and how the protection is eccomplished by the CPU?

Questions by nuwan.ku

Showing Answers 1 - 2 of 2 Answers

G.Simon

  • Jan 4th, 2013
 

The following Segment Registers are used to protect the Memory of CPU. It is related to Memory layout. such as stack, heap, code and Data of a process.
segment registers:
CS contains the segment of the current instruction (IP is the offset).
SS contains the stack segment (SP is the offset).
DS is the segment used by default for most data operations.
ES (and, in more recent processors, FS and GS) is an extra segment register.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions