Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8628839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:39:22+00:00 2026-06-12T08:39:22+00:00

I m new to operating system concepts. I have read that a PCB contains

  • 0

I m new to operating system concepts. I have read that a PCB contains the information about the Registers .. By that does it mean “it contains all the registers’ contents at that particular instance of time” or ” only the registers which belong to a particular process ” ? If its the second case, please tell me how does a os keep track of which registers belong to which process ?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:39:24+00:00Added an answer on June 12, 2026 at 8:39 am

    Registers are specific to architecture, this is a description of registers in x86 architecture

    http://en.wikipedia.org/wiki/X86_architecture#x86_registers.

    The CPU architecture specification defines each register and it’s purpose. It is these guidelines, that OS developers should follow while designing and developing the OS. In terms of a process the important registers are SP(stack pointer), BP(base pointer) and IP(instruction pointer). Control registers(cr0-cr8) are also used by the process for computation. There are registers which is used by operating system like IDTR, which is used by OS to point to the Interrupt descriptor table. IDT is used for calling the right function when a interrupt happens.

    When you talk about registers in the PCB, then it is a data structure. When a processes is running and it’s time slice expires, the current value of process specific registers would be stored in the PCB and the process would be swapped out. When the process is scheduled to be run, the register values is read from the PCB and written to the CPU registers. This is the main purpose of the registers in the PCB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have few doubts about how operating system works. Scheduler: Does the scheduler runs
I have a few questions about storing files on the operating system. These may
as Microsoft are releasing a tablet later this year, with a new operating system
I have a homework that include a new operation (a [n] b), given: a
What happens if I recompile an executable while it's running? Does the operating system
Does any operating system provide a mechanism (system call — not command line program)
I've been reading about various new additions to c++ recently that i'm really excited
I am doing an Operating System assignment, which is adding a new system call.
I have housekeeping script which is running on Redhat operating system. I have a
When writing a Python script that can be executed in different operating system environments

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.