engineering computer science MCQ #213

In a CPU, what is the purpose of the flags register?

engineering computer science MCQ #213

  1. Question 1

    Q1. In a CPU, what is the purpose of the flags register?

    • A) To store the result of an instruction
    • B) To store the address of the next instruction
    • C) To store the status of the CPU
    • D) To store the current instruction

    Answer: To store the status of the CPU

    Explanation: The flags register stores the status of the CPU, including flags such as zero, carry, and overflow, which are used to determine the outcome of instructions.