From CDOT Wiki
Revision as of 12:37, 26 September 2019 by Chris Tyler (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Flags are single-bit values which may be either on / set / binary "1" or off / cleared / binary 0.

Most CPUs have a status register containing multiple flag bits indicating current status; they may also have control registers which alter the operation of the CPU. Flags may also be maintained by software, or appear in IO device registers.