From WikiChip
Difference between revisions of "Flag"

 
Line 1: Line 1:
 
{{Distinguish|flag value|flag register}}
 
{{Distinguish|flag value|flag register}}
  
A '''flag''' or an '''indicator bit''' is a hardware [[signal]] that indicates a specific condition or state has been met by a certain component. Flags are often used by subsequent components to determine the course of action that must be taken. Some processors have a dedicated storage space for such flags called a [[flag register]]. While a microprocessor might have many internal flags, they are not always made accessible to the software running.
+
A '''flag''' or an '''indicator bit''' (also known as a '''condition code bit''') is a hardware [[signal]] that indicates a specific condition or state has been met by a certain component. Flags are often used by subsequent components to determine the course of action that must be taken. Some processors have a dedicated storage space for such flags called a [[flag register]]. While a microprocessor might have many internal flags, they are not always made accessible to the software running.
  
 
== Application ==
 
== Application ==

Latest revision as of 12:54, 12 April 2014

Not to be confused with flag value and flag register.


A flag or an indicator bit (also known as a condition code bit) is a hardware signal that indicates a specific condition or state has been met by a certain component. Flags are often used by subsequent components to determine the course of action that must be taken. Some processors have a dedicated storage space for such flags called a flag register. While a microprocessor might have many internal flags, they are not always made accessible to the software running.

Application[edit]

New text document.svg This section is empty; you can help add the missing info by editing this page.

Common flags[edit]

New text document.svg This section is empty; you can help add the missing info by editing this page.

Access to flags[edit]

New text document.svg This section is empty; you can help add the missing info by editing this page.