Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

General Purpose Registers

Mar 24, 2018 7:18AM PDT

How to ensure data integrity in General Purpose Registers (GPR registers) given their limited number (for x86 their number is 6),and on the other hand that they are used simultaneously by all processes?

Discussion is locked

- Collapse -
Answer
Have to disagree with your premise.
Mar 24, 2018 7:47AM PDT

Not used by all processes without some save and restore as the context switches from task to task.

It appears you are starting a class on OS design. That topic will not fit in this small space (or time.) Give yourself a few years to get the deep understanding.

- Collapse -
ANSWER
Mar 25, 2018 1:22AM PDT

Thank you very much!