ITPEC FE Morning October 2018 Question 10

Source exam: ITPEC FE Morning October 2018Topic: Computer Systems & Hardware

ITPEC FE Morning October 2018 — Question 10 of 80

Flags Register — stores comparison results and arithmetic sign flags.

The flags register (also called status register or condition code register) holds single-bit flags set automatically after ALU operations:

  • Zero flag (ZF) — result is 0
  • Sign flag (SF) — result is negative
  • Carry flag (CF) — unsigned overflow
  • Overflow flag (OF) — signed overflow

These flags are what if and branch instructions check after a comparison.

Why not others:
- (a) Accumulator — stores the actual computation result, not metadata about it

- (c) Instruction register — holds the current instruction being decoded

- (d) Program counter — holds the address of the next instruction to fetch

Key rule: Flags register = status bits about the result; Accumulator = the result itself.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.