Difference between revisions of "Flags"

From CDOT Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Computer Architecture]]{{Chris Tyler Draft}}
+
[[Category:Computer Architecture]]
 
'''Flags''' are single-bit values which may be either on / set / binary "1" or off / cleared / binary 0.
 
'''Flags''' are single-bit values which may be either on / set / binary "1" or off / cleared / binary 0.
  
Most CPUs have a status [[Register|register]] containing multiple flag bits. Flags may also be maintained by software, or appear in IO device registers.
+
Most CPUs have a [[Register#Status_Register|status register]] containing multiple flag bits indicating current status; they may also have [[Register#Control_Registers|control registers]] which alter the operation of the CPU. Flags may also be maintained by software, or appear in IO device registers.

Latest revision as of 11:37, 26 September 2019

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.